aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/msh3/dependencies_fix.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/msh3/dependencies_fix.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/msh3/dependencies_fix.patch')
-rw-r--r--vcpkg/ports/msh3/dependencies_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/msh3/dependencies_fix.patch b/vcpkg/ports/msh3/dependencies_fix.patch
new file mode 100644
index 0000000..e8ae8ac
--- /dev/null
+++ b/vcpkg/ports/msh3/dependencies_fix.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c4c0814..f400566 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -36,9 +36,6 @@ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+ if (WIN32)
+- # Statically link the OS included part of the runtime.
+- set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
+- set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib")
+
+ add_compile_definitions(WIN32_LEAN_AND_MEAN)
+ if(HAS_SPECTRE)
+@@ -76,6 +73,7 @@ endif()
+ option(MSH3_USE_EXTERNAL_MSQUIC "Use an external msquic installation")
+ if(MSH3_USE_EXTERNAL_MSQUIC)
+ find_package(msquic CONFIG REQUIRED)
++ add_library(msquic_platform ALIAS msquic) # with ports/msquic/exports-for-msh3.diff
+ else()
+ # Configure and build
+ if (WIN32)