winamp/vcpkg-ports/expat/mingw_static_fix.patch
2024-09-24 14:54:57 +02:00

11 lines
250 B
Diff

--- 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()