diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch | |
Diffstat (limited to 'vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch')
| -rw-r--r-- | vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch b/vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch new file mode 100644 index 0000000..233cf23 --- /dev/null +++ b/vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch @@ -0,0 +1,13 @@ +diff --git a/PC/pyconfig.h b/PC/pyconfig.h +index f4f57c5d270028..9e70303868e5de 100644 +--- a/PC/pyconfig.h ++++ b/PC/pyconfig.h +@@ -302,7 +302,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ + #ifdef MS_COREDLL + # if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN) + /* not building the core - must be an ext */ +-# if defined(_MSC_VER) ++# if defined(_MSC_VER) && !defined(Py_NO_LINK_LIB) + /* So MSVC users need not specify the .lib + file in their Makefile (other compilers are + generally taken care of by distutils.) */ |