aboutsummaryrefslogtreecommitdiff
path: root/ports/python3/0003-Fix-header-for-static-linkage.patch
blob: 99e56d29c670f3b622f228a6a2a15d10ce12e8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 */
--