Merge pull request #141 from andrewh42/master

openssl 1.1.x's default configuration results in app store rejection
This commit is contained in:
Felix Schulze 2017-03-10 09:20:58 +01:00 committed by GitHub
commit 4dae1f0680
1 changed files with 4 additions and 7 deletions

View File

@ -56,19 +56,16 @@ do
prepare_target_source_dirs
## Determine config options
# Add build target, --prefix and prevent creation of shared libraries (default since 1.1.0)
LOCAL_CONFIG_OPTIONS="${TARGET} --prefix=${TARGETDIR} ${CONFIG_OPTIONS} no-shared"
# Add build target, --prefix and prevent async (references to getcontext(),
# setcontext() and makecontext() result in App Store rejections) and creation
# of shared libraries (default since 1.1.0)
LOCAL_CONFIG_OPTIONS="${TARGET} --prefix=${TARGETDIR} ${CONFIG_OPTIONS} no-async no-shared"
# Only relevant for 64 bit builds
if [[ "${CONFIG_ENABLE_EC_NISTP_64_GCC_128}" == "true" && "${ARCH}" == *64 ]]; then
LOCAL_CONFIG_OPTIONS="${LOCAL_CONFIG_OPTIONS} enable-ec_nistp_64_gcc_128"
fi
# Disable unavailable async for tvOS builds
if [[ "${PLATFORM}" == AppleTV* ]]; then
LOCAL_CONFIG_OPTIONS="${LOCAL_CONFIG_OPTIONS} no-async"
fi
# Run Configure
run_configure