summaryrefslogtreecommitdiff
path: root/platform/ios/build_libs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/build_libs.sh')
-rw-r--r--platform/ios/build_libs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/build_libs.sh b/platform/ios/build_libs.sh
index 5b0c4d0e..cc262ef7 100644
--- a/platform/ios/build_libs.sh
+++ b/platform/ios/build_libs.sh
@@ -25,9 +25,9 @@ OUT=build/$build-$OS-$(echo $ARCHS | tr ' ' '-')
echo Compiling libraries for $ARCHS.
make -j4 -C ../.. OUT=$OUT XCFLAGS="$FLAGS" XLDFLAGS="$FLAGS" JSCORE_PRESENT="yes" third libs || exit 1
-echo Copying library to $TARGET_BUILD_DIR/.
-mkdir -p "$TARGET_BUILD_DIR"
-cp -f ../../$OUT/lib*.a $TARGET_BUILD_DIR
-ranlib $TARGET_BUILD_DIR/lib*.a
+echo Copying library to $BUILT_PRODUCTS_DIR/.
+mkdir -p "$BUILT_PRODUCTS_DIR"
+cp -f ../../$OUT/lib*.a $BUILT_PRODUCTS_DIR
+ranlib $BUILT_PRODUCTS_DIR/lib*.a
echo Done.