diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | ios/build_libs.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ QUIET_MKDIR = @ echo ' ' ' ' MKDIR $@ ; endif CC_CMD = $(QUIET_CC) $(CC) $(CFLAGS) -o $@ -c $< -AR_CMD = $(QUIET_AR) $(AR) cru $@ $^ +AR_CMD = $(QUIET_AR) $(AR) cr $@ $^ LINK_CMD = $(QUIET_LINK) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) MKDIR_CMD = $(QUIET_MKDIR) mkdir -p $@ diff --git a/ios/build_libs.sh b/ios/build_libs.sh index 72c07ce0..836601d1 100644 --- a/ios/build_libs.sh +++ b/ios/build_libs.sh @@ -27,7 +27,7 @@ make -C .. libs || exit 1 echo Assembling final library in $TARGET_BUILD_DIR/. mkdir -p "$TARGET_BUILD_DIR" rm -f $TARGET_BUILD_DIR/libLibraries.a -ar cru $TARGET_BUILD_DIR/libLibraries.a ../$OUT/*.o +ar cr $TARGET_BUILD_DIR/libLibraries.a ../$OUT/*.o ranlib $TARGET_BUILD_DIR/libLibraries.a echo Done. |