Skip to content

Commit 17b3078

Browse files
dirty fix of linking object name duplicates issue
1 parent 2bd755b commit 17b3078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ $(LIBMAPPER_OBJ_DIR)/%.o : $(LIBMAPPER_SRCS_DIR)/%.c
6161

6262
all : $(COMPAT_OBJS) $(ZLIB_OBJS) $(LIBLO_OBJS) $(LIBMAPPER_OBJS)
6363
@mkdir -p $(OUTPUT_LIB_DIR)
64+
@rm $(OUTPUT_LIB_DIR)/libmapper.a || true
6465
@echo Linking $(OUTPUT_LIB_DIR)/libmapper.a
65-
@rm $(OUTPUT_LIB_DIR)/libmapper.a 2> /dev/null
6666
@$(AR) cru $(OUTPUT_LIB_DIR)/libmapper.a $^
6767
cp library.properties $(OUTPUT_DIR)/library.properties
6868
cp -R examples $(OUTPUT_DIR)

0 commit comments

Comments
 (0)