Use the same options on OSX and iOS

This commit is contained in:
Frank Denis 2014-12-10 21:21:15 -08:00
parent d38d5167e4
commit 997485ac22

View File

@ -13,11 +13,14 @@ export PREFIX="$(pwd)/libsodium-ios"
export IOS_PREFIX="$PREFIX/tmp/osx" export IOS_PREFIX="$PREFIX/tmp/osx"
export OSX_PREFIX="$PREFIX/tmp/ios" 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 # Build for OSX First
./configure --prefix="$OSX_PREFIX" ./configure --disable-shared \
--enable-minimal \
--prefix="$OSX_PREFIX"
make clean && make -j3 install make clean && make -j3 install
# Cleanup # Cleanup