From 54409423f767d8b1cf30cb7d0efca6b4ca138823 Mon Sep 17 00:00:00 2001 From: Ethan Morgan Date: Sat, 14 Feb 2026 16:44:06 +0000 Subject: move to own git server --- vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch (limited to 'vcpkg/ports/python3/0020-Py_NO_LINK_LIB.patch') 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.) */ -- cgit v1.2.3