aboutsummaryrefslogtreecommitdiff
path: root/ports/mpir/enable-runtimelibrary-toggle.patch
blob: 391d4e103b76494322981138a51f67cb74a5a277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>