From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- vcpkg-ports/expat/mingw_static_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vcpkg-ports/expat/mingw_static_fix.patch (limited to 'vcpkg-ports/expat/mingw_static_fix.patch') diff --git a/vcpkg-ports/expat/mingw_static_fix.patch b/vcpkg-ports/expat/mingw_static_fix.patch new file mode 100644 index 00000000..b02634e8 --- /dev/null +++ b/vcpkg-ports/expat/mingw_static_fix.patch @@ -0,0 +1,11 @@ +--- a/expat/CMakeLists.txt ++++ b/expat/CMakeLists.txt +@@ -459,7 +459,7 @@ if(NOT WIN32) + endif() + endif() + +-if(MINGW) ++if(MINGW AND EXPAT_SHARED_LIBS) + set_target_properties(expat PROPERTIES SUFFIX "-${LIBCURRENT_MINUS_AGE}.dll") + endif() + -- cgit