aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libgit2/mingw-winhttp.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libgit2/mingw-winhttp.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libgit2/mingw-winhttp.diff')
-rw-r--r--vcpkg/ports/libgit2/mingw-winhttp.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libgit2/mingw-winhttp.diff b/vcpkg/ports/libgit2/mingw-winhttp.diff
new file mode 100644
index 0000000..2a47b0c
--- /dev/null
+++ b/vcpkg/ports/libgit2/mingw-winhttp.diff
@@ -0,0 +1,13 @@
+diff --git a/cmake/SelectHTTPSBackend.cmake b/cmake/SelectHTTPSBackend.cmake
+index 0316b3a..a70f6b6 100644
+--- a/cmake/SelectHTTPSBackend.cmake
++++ b/cmake/SelectHTTPSBackend.cmake
+@@ -125,7 +125,7 @@ if(USE_HTTPS)
+
+ # Since MinGW does not come with headers or an import library for winhttp,
+ # we have to include a private header and generate our own import library
+- if(MINGW)
++ if(0)
+ add_subdirectory("${PROJECT_SOURCE_DIR}/deps/winhttp" "${PROJECT_BINARY_DIR}/deps/winhttp")
+ list(APPEND LIBGIT2_SYSTEM_LIBS winhttp)
+ list(APPEND LIBGIT2_DEPENDENCY_INCLUDES "${PROJECT_SOURCE_DIR}/deps/winhttp")