winamp/vcpkg-ports/expat/mingw_static_fix.patch

12 lines
250 B
Diff
Raw Normal View History

2024-09-24 12:54:57 +00:00
--- 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()