diff options
| author | Adam Johnson <AdamJohnso@gmail.com> | 2020-12-18 15:00:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-18 12:00:45 -0800 |
| commit | bdb225bc6890ac507175fe2623d7665936335781 (patch) | |
| tree | 6b42b6d8b2930d329e0604645f2a60687621815c /ports/python3/0001-static-library.patch | |
| parent | e1417916bc1ed24bacd9cbc54bd42a99f996f618 (diff) | |
| download | vcpkg-bdb225bc6890ac507175fe2623d7665936335781.tar.gz vcpkg-bdb225bc6890ac507175fe2623d7665936335781.zip | |
[python3] Build interpreter (#14891)
Diffstat (limited to 'ports/python3/0001-static-library.patch')
| -rw-r--r-- | ports/python3/0001-static-library.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ports/python3/0001-static-library.patch b/ports/python3/0001-static-library.patch index e0824849a..f7d46d094 100644 --- a/ports/python3/0001-static-library.patch +++ b/ports/python3/0001-static-library.patch @@ -1,16 +1,16 @@ -From dffd6c572fb60f955bf3d98a87e5739163ab8f3f Mon Sep 17 00:00:00 2001 +From 4bd06273a9ed63f17966f113dc61a6051bad8b86 Mon Sep 17 00:00:00 2001 From: Adam Johnson <AdamJohnso@gmail.com> Date: Thu, 28 May 2020 17:25:21 -0400 -Subject: [PATCH 1/2] static library +Subject: [PATCH 1/6] static library builds the pythoncore as a static library instead of a DLL --- - PC/pyconfig.h | 6 ++++++ + PC/pyconfig.h | 7 +++++++ PCbuild/pythoncore.vcxproj | 16 ++++++++++++++-- - 2 files changed, 20 insertions(+), 2 deletions(-) + 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/PC/pyconfig.h b/PC/pyconfig.h -index 02216b5068..d359c884e2 100644 +index 02216b5068..7e0ba881a5 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -252,6 +252,7 @@ typedef int pid_t; @@ -21,7 +21,7 @@ index 02216b5068..d359c884e2 100644 #if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED) # define Py_ENABLE_SHARED 1 /* standard symbol for shared library */ # define MS_COREDLL /* deprecated old symbol */ -@@ -277,6 +278,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ +@@ -277,6 +278,12 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ # endif /* _DEBUG */ # endif /* _MSC_VER */ # endif /* Py_BUILD_CORE */ @@ -30,6 +30,7 @@ index 02216b5068..d359c884e2 100644 +# pragma comment(lib, "version.lib") +# pragma comment(lib, "shlwapi.lib") +# pragma comment(lib, "ws2_32.lib") ++# pragma comment(lib, "pathcch.lib") #endif /* MS_COREDLL */ #if defined(MS_WIN64) |
