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
@@ -158,6 +156,7 @@ function build_libssh2() {
158156 cmake " ${CMAKE_ARGS[@]} " .. > /dev/null 2> /dev/null
159157
160158 cmake --build . --target install > /dev/null 2> /dev/null
159+ export -n CFLAGS
161160}
162161
163162# ## Build libgit2 for a single platform (given as the first and only argument)
You can’t perform that action at this time.
0 commit comments