We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0314937 commit 443abfeCopy full SHA for 443abfe
script/pkg-config-static
@@ -0,0 +1,2 @@
1
+#!/bin/sh
2
+pkg-config --static "$@"
script/update_libgit2_ios
@@ -29,6 +29,9 @@ function build_libgit2 ()
29
# LOL Cmake
30
SYS_ROOT="-DCMAKE_OSX_SYSROOT=${SDKROOT}"
31
32
+ # We only want to discover our static library
33
+ export PKG_CONFIG="${SCRIPT_DIR}"/pkg-config-static
34
+
35
# Limit pkg-config to what we're currently expecting it to use
36
# PKG_CONFIG_PATH="${INSTALL_PATH}/lib/pkgconfig/"
37
# LDFLAGS="-L $(xcrun --sdk iphoneos --show-sdk-path)/usr/lib"
0 commit comments