Update Android & iPhone build scripts to build static libraries only.
This commit is contained in:
parent
01ee32e3a3
commit
39a54324fb
@ -17,5 +17,10 @@ export NM=droid-nm
|
||||
export OBJCOPY=droid-objcopy
|
||||
export RANLIB=droid-ranlib
|
||||
export STRIP=droid-strip
|
||||
export PREFIX="$(pwd)/libsodium-android"
|
||||
|
||||
./configure --host=arm-linux-androideabi && make -j3
|
||||
./configure --host=arm-linux-androideabi \
|
||||
--disable-shared \
|
||||
--prefix="$PREFIX" && \
|
||||
make -j3 install &&
|
||||
echo "libsodium has been installed into $PREFIX"
|
||||
|
@ -6,5 +6,10 @@ export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
|
||||
export SDK="${BASEDIR}/SDKs/iPhoneOS6.1.sdk"
|
||||
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
|
||||
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
|
||||
export PREFIX="$(pwd)/libsodium-ios"
|
||||
|
||||
./configure --host=arm-apple-darwin10 && make -j3
|
||||
./configure --host=arm-apple-darwin10 \
|
||||
--disable-shared \
|
||||
--prefix="$PREFIX" && \
|
||||
make -j3 install && \
|
||||
echo "libsodium has been installed into $PREFIX"
|
||||
|
Loading…
Reference in New Issue
Block a user