Merge pull request #141 from andrewh42/master
openssl 1.1.x's default configuration results in app store rejection
This commit is contained in:
commit
4dae1f0680
|
@ -56,19 +56,16 @@ do
|
||||||
prepare_target_source_dirs
|
prepare_target_source_dirs
|
||||||
|
|
||||||
## Determine config options
|
## Determine config options
|
||||||
# Add build target, --prefix and prevent creation of shared libraries (default since 1.1.0)
|
# Add build target, --prefix and prevent async (references to getcontext(),
|
||||||
LOCAL_CONFIG_OPTIONS="${TARGET} --prefix=${TARGETDIR} ${CONFIG_OPTIONS} no-shared"
|
# 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
|
# Only relevant for 64 bit builds
|
||||||
if [[ "${CONFIG_ENABLE_EC_NISTP_64_GCC_128}" == "true" && "${ARCH}" == *64 ]]; then
|
if [[ "${CONFIG_ENABLE_EC_NISTP_64_GCC_128}" == "true" && "${ARCH}" == *64 ]]; then
|
||||||
LOCAL_CONFIG_OPTIONS="${LOCAL_CONFIG_OPTIONS} enable-ec_nistp_64_gcc_128"
|
LOCAL_CONFIG_OPTIONS="${LOCAL_CONFIG_OPTIONS} enable-ec_nistp_64_gcc_128"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable unavailable async for tvOS builds
|
|
||||||
if [[ "${PLATFORM}" == AppleTV* ]]; then
|
|
||||||
LOCAL_CONFIG_OPTIONS="${LOCAL_CONFIG_OPTIONS} no-async"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Run Configure
|
# Run Configure
|
||||||
run_configure
|
run_configure
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue