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/python2/006-static-fix-headers.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vcpkg/ports/python2/006-static-fix-headers.patch (limited to 'vcpkg/ports/python2/006-static-fix-headers.patch') diff --git a/vcpkg/ports/python2/006-static-fix-headers.patch b/vcpkg/ports/python2/006-static-fix-headers.patch new file mode 100644 index 0000000..9e3030b --- /dev/null +++ b/vcpkg/ports/python2/006-static-fix-headers.patch @@ -0,0 +1,14 @@ +diff --git a/PC/pyconfig.h b/PC/pyconfig.h +index 64e7aec..aa36745 100644 +--- a/PC/pyconfig.h ++++ b/PC/pyconfig.h +@@ -331,6 +331,7 @@ typedef int pid_t; + + /* For Windows the Python core is in a DLL by default. Test + Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ ++#define Py_NO_ENABLE_SHARED + #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 */ +-- + -- cgit v1.2.3