aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mpir/enable-runtimelibrary-toggle.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/mpir/enable-runtimelibrary-toggle.patch')
-rw-r--r--vcpkg/ports/mpir/enable-runtimelibrary-toggle.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/mpir/enable-runtimelibrary-toggle.patch b/vcpkg/ports/mpir/enable-runtimelibrary-toggle.patch
new file mode 100644
index 0000000..391d4e1
--- /dev/null
+++ b/vcpkg/ports/mpir/enable-runtimelibrary-toggle.patch
@@ -0,0 +1,27 @@
+diff --git a/build.vc/mpir_debug_lib.props b/build.vc/mpir_debug_lib.props
+index b2fd57b..3937570 100644
+--- a/build.vc/mpir_debug_lib.props
++++ b/build.vc/mpir_debug_lib.props
+@@ -9,7 +9,8 @@
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <ObjectFileName>$(IntDir)dum\my\%(RelativeDir)</ObjectFileName>
+- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
++ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
++ <DebugInformationFormat>OldStyle</DebugInformationFormat>
+ <ProgramDataBaseFileName>$(TargetDir)$(TargetName).pdb</ProgramDataBaseFileName>
+ </ClCompile>
+ <Link>
+diff --git a/build.vc/mpir_release_lib.props b/build.vc/mpir_release_lib.props
+index 6cdff3e..3937570 100644
+--- a/build.vc/mpir_release_lib.props
++++ b/build.vc/mpir_release_lib.props
+@@ -9,7 +9,7 @@
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <ObjectFileName>$(IntDir)dum\my\%(RelativeDir)</ObjectFileName>
+- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
++ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
+ <ProgramDataBaseFileName>$(TargetDir)$(TargetName).pdb</ProgramDataBaseFileName>
+ </ClCompile>
+ <Link>