From 997485ac22925f11da4aa12fc82ef15071eefb03 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 10 Dec 2014 21:21:15 -0800 Subject: [PATCH] Use the same options on OSX and iOS --- dist-build/ios.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dist-build/ios.sh b/dist-build/ios.sh index ac4cde9d..9f44d8e6 100755 --- a/dist-build/ios.sh +++ b/dist-build/ios.sh @@ -13,11 +13,14 @@ export PREFIX="$(pwd)/libsodium-ios" export IOS_PREFIX="$PREFIX/tmp/osx" export OSX_PREFIX="$PREFIX/tmp/ios" -mkdir -p $IOS_PREFIX && mkdir -p $OSX_PREFIX +mkdir -p $IOS_PREFIX $OSX_PREFIX || exit 1 # Build for OSX First -./configure --prefix="$OSX_PREFIX" +./configure --disable-shared \ + --enable-minimal \ + --prefix="$OSX_PREFIX" + make clean && make -j3 install # Cleanup