aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxslt/msvc-no-suffix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libxslt/msvc-no-suffix.patch')
-rw-r--r--vcpkg/ports/libxslt/msvc-no-suffix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/libxslt/msvc-no-suffix.patch b/vcpkg/ports/libxslt/msvc-no-suffix.patch
new file mode 100644
index 0000000..421e933
--- /dev/null
+++ b/vcpkg/ports/libxslt/msvc-no-suffix.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fb352475..a4bb094e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -247,7 +247,7 @@ set_target_properties(
+ SOVERSION ${LIBXSLT_MAJOR_VERSION}
+ )
+
+-if(MSVC)
++if(0) # Never add suffixes which are not added by the autotools build or the nmake makefiles
+ if(BUILD_SHARED_LIBS)
+ set_target_properties(
+ LibXslt
+@@ -340,7 +340,7 @@ set_target_properties(
+ SOVERSION ${LIBEXSLT_MAJOR_VERSION}
+ )
+
+-if(MSVC)
++if(0) # same reason as above
+ if(BUILD_SHARED_LIBS)
+ set_target_properties(
+ LibExslt