Skip to content

Commit c2d3af2

Browse files
committed
Merge pull request #371 from libgit2/jspahrsummers-patch-1
Enable libgit2 thread safety for iOS
2 parents 2c26e64 + 2c337c6 commit c2d3af2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/update_libgit2_ios

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function build_libgit2 ()
5353
-DOPENSSL_CRYPTO_LIBRARY:FILEPATH=../../External/ios-openssl/lib/libcrypto.a \
5454
-DCMAKE_INSTALL_PREFIX:PATH="${INSTALL_PREFIX}/" \
5555
-DBUILD_CLAR:BOOL=OFF \
56+
-DTHREADSAFE:BOOL=ON \
5657
"${SYS_ROOT}" \
5758
-DCMAKE_OSX_ARCHITECTURES:STRING="${ARCH}" \
5859
.. >> "${LOG}" 2>&1

0 commit comments

Comments
 (0)