jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / python39 / patches / 10-include.patch
blobac74b2cfc851cb500fd9ac227300397bbf3a9dda
1 On Solaris pyconfig.h is delivered in the normal python header directory.
2 As this is Solaris-specific, it is not suitable for upstream.
4 --- Python-3.9.0/Lib/distutils/sysconfig.py
5 +++ Python-3.9.0/Lib/distutils/sysconfig.py
6 @@ -251,7 +251,7 @@ def get_config_h_filename():
7 else:
8 inc_dir = _sys_home or project_base
9 else:
10 - inc_dir = get_python_inc(plat_specific=1)
11 + inc_dir = get_python_inc(plat_specific=0)
13 return os.path.join(inc_dir, 'pyconfig.h')