diff options
| author | Martin Müller <muemart@users.noreply.github.com> | 2017-05-19 23:31:04 +0200 |
|---|---|---|
| committer | Martin Müller <muemart@users.noreply.github.com> | 2017-05-19 23:31:04 +0200 |
| commit | aea0653a8bb1fc27401e711ad01b7d5e86b02e28 (patch) | |
| tree | 6094f332eceb1d3899ee4116ed73c3d595a8cf5b /ports/python3/0003-Fix-header-for-static-linkage.patch | |
| parent | 67f7dad3366773971623344a6c15d9a10f006c65 (diff) | |
| download | vcpkg-aea0653a8bb1fc27401e711ad01b7d5e86b02e28.tar.gz vcpkg-aea0653a8bb1fc27401e711ad01b7d5e86b02e28.zip | |
Add port for Python 3
Diffstat (limited to 'ports/python3/0003-Fix-header-for-static-linkage.patch')
| -rw-r--r-- | ports/python3/0003-Fix-header-for-static-linkage.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/python3/0003-Fix-header-for-static-linkage.patch b/ports/python3/0003-Fix-header-for-static-linkage.patch new file mode 100644 index 000000000..99e56d29c --- /dev/null +++ b/ports/python3/0003-Fix-header-for-static-linkage.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 +@@ -274,6 +274,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 */ +-- + |
