aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxslt/msvc-no-suffix.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/libxslt/msvc-no-suffix.patch
move to own git serverHEADmaster
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