diff options
author | TBK <tbk@jjtc.dk> | 2017-12-01 05:30:10 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-16 01:55:38 +0100 |
commit | aa5d8f79338f88702decde530357b3fa50e22427 (patch) | |
tree | 27d429de1efff410b4d0cf7265751d7036004ccd /main/libgit2/build-both-static-dynamic.patch | |
parent | c394e557d4cf409af13fc92dbc22b68d309d218f (diff) | |
download | aports-aa5d8f79338f88702decde530357b3fa50e22427.tar.bz2 aports-aa5d8f79338f88702decde530357b3fa50e22427.tar.xz |
main/libgit2: upgrade to 0.26.0 and modernize abuild
Diffstat (limited to 'main/libgit2/build-both-static-dynamic.patch')
-rw-r--r-- | main/libgit2/build-both-static-dynamic.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/libgit2/build-both-static-dynamic.patch b/main/libgit2/build-both-static-dynamic.patch index eeb179a1e0..9c85dc56b4 100644 --- a/main/libgit2/build-both-static-dynamic.patch +++ b/main/libgit2/build-both-static-dynamic.patch @@ -13,7 +13,7 @@ This is very hack-ish, it makes option BUILD_SHARED_LIBS unusable. OPTION( THREADSAFE "Build libgit2 as threadsafe" ON ) OPTION( BUILD_CLAR "Build Tests using the Clar suite" ON ) OPTION( BUILD_EXAMPLES "Build library usage example apps" OFF ) -@@ -44,6 +43,8 @@ +@@ -45,6 +44,8 @@ OPTION( CURL "Use curl for HTTP if available" ON) OPTION( DEBUG_POOL "Enable debug pool allocator" OFF ) @@ -22,7 +22,7 @@ This is very hack-ish, it makes option BUILD_SHARED_LIBS unusable. IF(DEBUG_POOL) ADD_DEFINITIONS(-DGIT_DEBUG_POOL) ENDIF() -@@ -602,7 +603,8 @@ +@@ -609,7 +610,8 @@ ENDIF() # Compile and link libgit2 @@ -32,7 +32,7 @@ This is very hack-ish, it makes option BUILD_SHARED_LIBS unusable. TARGET_LINK_LIBRARIES(git2 ${SECURITY_DIRS}) TARGET_LINK_LIBRARIES(git2 ${COREFOUNDATION_DIRS}) TARGET_LINK_LIBRARIES(git2 ${SSL_LIBRARIES}) -@@ -611,6 +613,9 @@ +@@ -618,6 +620,9 @@ TARGET_LINK_LIBRARIES(git2 ${ICONV_LIBRARIES}) TARGET_OS_LIBRARIES(git2) @@ -42,7 +42,7 @@ This is very hack-ish, it makes option BUILD_SHARED_LIBS unusable. # Workaround for Cmake bug #0011240 (see http://public.kitware.com/Bug/view.php?id=11240) # Win64+MSVC+static libs = linker error IF(MSVC AND GIT_ARCH_64 AND NOT BUILD_SHARED_LIBS) -@@ -639,7 +644,7 @@ +@@ -646,7 +651,7 @@ ENDIF () # Install |