File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,8 @@ export PATH=$PATH:$REPO_ROOT/tools/bin
1010# Likewise, `maccatalyst` and `macosx` cannot be used together. So unfortunately for now, one will
1111# needs multiple xcframeworks for x86_64-based and ARM-based Mac development computer.
1212
13- # Note that iphonesimulator MUST be built first before other platform for otherwise, the lib built
14- # somehow contains both x86_64 and arm64 binary leading to undefined symbols error!?
1513# maccatalyst-arm64 macosx macosx-arm64
16- AVAILABLE_PLATFORMS=(iphonesimulator iphoneos maccatalyst)
14+ AVAILABLE_PLATFORMS=(iphoneos iphonesimulator maccatalyst)
1715
1816# Download build tools
1917test -d tools || wget -q https://github.com/light-tech/LLVM-On-iOS/releases/download/llvm12.0.0/tools.tar.xz
@@ -137,6 +135,7 @@ function build_openssl() {
137135
138136 make > /dev/null 2> /dev/null
139137 make install_sw install_ssldirs > /dev/null 2> /dev/null
138+ export -n CFLAGS
140139}
141140
142141# ## Build libssh2 for a given platform (assume openssl was built)
You can’t perform that action at this time.
0 commit comments