summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2014-01-20 14:09:00 +0000
committerPaul Gardiner <paul.gardiner@artifex.com>2014-01-20 14:10:14 +0000
commit3f766db16a6fea2a0b8c568ba9475a54a8a1a023 (patch)
treeeef5b1f56f23d2f7906567e6fd490cf3a4d5101a
parentf54380cc84eb97223514563bf42aec240bf81f5d (diff)
downloadmupdf-3f766db16a6fea2a0b8c568ba9475a54a8a1a023.tar.xz
iOS: fix the release build
Change the library copying to use a system variable for the location that works in both builds
-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.