Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions build-libgit2-framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ export PATH=$PATH:$REPO_ROOT/tools/bin
# Likewise, `maccatalyst` and `macosx` cannot be used together. So unfortunately for now, one will
# needs multiple xcframeworks for x86_64-based and ARM-based Mac development computer.

# Note that iphonesimulator MUST be built first before other platform for otherwise, the lib built
# somehow contains both x86_64 and arm64 binary leading to undefined symbols error!?
# maccatalyst-arm64 macosx macosx-arm64
AVAILABLE_PLATFORMS=(iphonesimulator iphoneos maccatalyst)
AVAILABLE_PLATFORMS=(iphoneos iphonesimulator maccatalyst)

# Download build tools
test -d tools || wget -q https://github.com/light-tech/LLVM-On-iOS/releases/download/llvm12.0.0/tools.tar.xz
Expand Down Expand Up @@ -137,6 +135,7 @@ function build_openssl() {

make >/dev/null 2>/dev/null
make install_sw install_ssldirs >/dev/null 2>/dev/null
export -n CFLAGS
}

### Build libssh2 for a given platform (assume openssl was built)
Expand Down