diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-20 13:32:44 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-20 13:36:12 -0800 |
commit | 0873d46a6415efbb99abcbea3bac14f3e677d2cd (patch) | |
tree | 2311e08f0c9eab753d8dbeb180432acdeb3bc4db /packaging/ios/build.sh | |
parent | 63b01b75101136c021ac0435cfce5916878a4d71 (diff) | |
download | subsurface-0873d46a6415efbb99abcbea3bac14f3e677d2cd.tar.gz |
iOS build: only build the parts of openssl that we need
No point in creating the apps, etc.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/build.sh')
-rw-r--r-- | packaging/ios/build.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index 4ee64de16..d204d7c54 100644 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -140,13 +140,14 @@ if [ ! -e $PKG_CONFIG_LIBDIR/libssl.pc ] ; then if [[ "${ARCH}" != "i386" && "${ARCH}" != "x86_64" ]]; then sed -ie "s!static volatile sig_atomic_t intr_signal;!static volatile intr_signal;!" "crypto/ui/ui_openssl.c" fi - ./Configure iphoneos-cross --openssldir="/tmp/$PREFIX" + ./Configure iphoneos-cross --openssldir="$PREFIX" sed -ie "s!^CFLAG=!CFLAG=-isysroot ${BUILDCHAIN} -miphoneos-version-min=${SDKVERSION} !" "Makefile" + sed -ie "s!^DIRS=.*!DIRS= crypto ssl !" "Makefile" # Use env to make all these temporary, so they don't pollute later builds. # bash -x ./config shared no-ssl2 no-ssl3 no-comp no-hw no-engine --openssldir=$PREFIX make depend - make - make install + make build_libs + make install_sw popd fi |