aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libgme/disable-static-zlib-hack.patch
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/libgme/disable-static-zlib-hack.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libgme/disable-static-zlib-hack.patch')
-rw-r--r--vcpkg/ports/libgme/disable-static-zlib-hack.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libgme/disable-static-zlib-hack.patch b/vcpkg/ports/libgme/disable-static-zlib-hack.patch
new file mode 100644
index 0000000..616482e
--- /dev/null
+++ b/vcpkg/ports/libgme/disable-static-zlib-hack.patch
@@ -0,0 +1,13 @@
+diff --git a/gme/CMakeLists.txt b/gme/CMakeLists.txt
+index b1b2bf0aee0d79dbeb76fd46756ad9709af57ae3..aacb5a8067f77cfeac560d65cc1538dd75008c9b 100644
+--- a/gme/CMakeLists.txt
++++ b/gme/CMakeLists.txt
+@@ -17,7 +17,7 @@ set(libgme_SRCS Blip_Buffer.cpp
+ # static builds need to find static zlib (and static forms of other needed
+ # libraries. Ensure CMake looks only for static libs if we're doing a static
+ # build. See https://stackoverflow.com/a/44738756
+-if(NOT BUILD_SHARED_LIBS)
++if(0)
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
+ endif()
+