aboutsummaryrefslogtreecommitdiff
path: root/ports/python2/006-static-fix-headers.patch
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-08-08 14:19:31 -0700
committerGitHub <noreply@github.com>2018-08-08 14:19:31 -0700
commit7baf25786d2d4adb827ec4531d2fc2cb1fb0d5a6 (patch)
tree5af7eef5135051ae238d3173461c872cd6417690 /ports/python2/006-static-fix-headers.patch
parent13e19f10ea83985708320542cbf05217b4da9969 (diff)
parent1265bd4c3f41e2fc65d94b86103f8a11ab8bb503 (diff)
downloadvcpkg-7baf25786d2d4adb827ec4531d2fc2cb1fb0d5a6.tar.gz
vcpkg-7baf25786d2d4adb827ec4531d2fc2cb1fb0d5a6.zip
Merge pull request #3999 from TheAifam5/python2
Add python2 port
Diffstat (limited to 'ports/python2/006-static-fix-headers.patch')
-rw-r--r--ports/python2/006-static-fix-headers.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/python2/006-static-fix-headers.patch b/ports/python2/006-static-fix-headers.patch
new file mode 100644
index 000000000..9e3030b45
--- /dev/null
+++ b/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 */
+--
+