components/python/python34/patches/15-include.patch
author pkidd <patrick.kidd@oracle.com>
Fri, 24 Feb 2017 07:31:04 -0800
branchs11u3-sru
changeset 7693 789db572fc03
parent 3786 fa9d2da4d216
permissions -rw-r--r--
build metadata for S11.3SRU18.3

On Solaris pyconfig.h is delivered in the normal python header directory.
As this is Solaris-specific, it is not suitable for upstream.

--- Python-3.4.2/Lib/distutils/sysconfig.py.~1~	2014-09-22 05:56:59.000000000 -0700
+++ Python-3.4.2/Lib/distutils/sysconfig.py	2014-09-22 14:20:16.045987560 -0700
@@ -240,7 +240,7 @@
         else:
             inc_dir = _sys_home or project_base
     else:
-        inc_dir = get_python_inc(plat_specific=1)
+        inc_dir = get_python_inc(plat_specific=0)
 
     return os.path.join(inc_dir, 'pyconfig.h')