We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad78aec commit a547d9dCopy full SHA for a547d9d
build.sh
@@ -50,8 +50,10 @@ build()
50
# IOS
51
if [ "$ARCH" == "x86_64" ]; then
52
# Simulator
53
+ export CROSS_TOP="${IPHONESIMULATOR_PLATFORM}/Developer"
54
+ export CROSS_SDK="iPhoneSimulator${IOS_SDK_VERSION}.sdk"
55
./Configure darwin64-x86_64-cc --openssldir="/tmp/openssl-${OPENSSL_VERSION}-${ARCH}" &> "/tmp/openssl-${OPENSSL_VERSION}-${ARCH}.log"
- perl -i -pe "s|^CFLAG= (.*)|CFLAG= -isysroot ${SDK} \$1|g" Makefile
56
+ sed -ie "s!^CFLAG=!CFLAG=-isysroot ${CROSS_TOP}/SDKs/${CROSS_SDK} -miphoneos-version-min=${IOS_DEPLOYMENT_VERSION} !" "Makefile"
57
elif [ "$ARCH" == "i386" ]; then
58
59
export CROSS_TOP="${IPHONESIMULATOR_PLATFORM}/Developer"
0 commit comments