aboutsummaryrefslogtreecommitdiff
path: root/ports/python3/0002-static-crt.patch
diff options
context:
space:
mode:
authorAdam Johnson <AdamJohnso@gmail.com>2020-06-12 01:23:26 -0400
committerGitHub <noreply@github.com>2020-06-11 22:23:26 -0700
commite1783c68c43bc59f545551071a2775971497c871 (patch)
treef6f4fc4e64b9e63d1717a398e11ee85702122e2c /ports/python3/0002-static-crt.patch
parentca52d429b63391cbf7eb228cad4c7567200bee41 (diff)
downloadvcpkg-e1783c68c43bc59f545551071a2775971497c871.tar.gz
vcpkg-e1783c68c43bc59f545551071a2775971497c871.zip
[python3] Update to Python 3.8 (#11708)
* [python3] Update to Python 3.8.3. [vtk] Update to Python 3.8 and fix improper Python3 artifact specification. * [python3] Fix static linking, broken in 121faf2. * [hyperscan] Add missing build dependency (fixes CI on macOS).
Diffstat (limited to 'ports/python3/0002-static-crt.patch')
-rw-r--r--ports/python3/0002-static-crt.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/python3/0002-static-crt.patch b/ports/python3/0002-static-crt.patch
new file mode 100644
index 000000000..82e2b36d2
--- /dev/null
+++ b/ports/python3/0002-static-crt.patch
@@ -0,0 +1,15 @@
+diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
+index eb5ecffe71..2a7c819533 100644
+--- a/PCbuild/pythoncore.vcxproj
++++ b/PCbuild/pythoncore.vcxproj
+@@ -104,6 +104,10 @@
+ <AdditionalIncludeDirectories Condition="$(IncludeExternals)">$(zlibDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>_USRDLL;Py_BUILD_CORE;Py_BUILD_CORE_BUILTIN;MS_DLL_ID="$(SysWinVer)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions Condition="$(IncludeExternals)">_Py_HAVE_ZLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
++ <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">MultiThreadedDebug</RuntimeLibrary>
++ <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">MultiThreadedDebug</RuntimeLibrary>
++ <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MultiThreaded</RuntimeLibrary>
++ <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Release|x64'">MultiThreaded</RuntimeLibrary>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>version.lib;shlwapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>