From 4fb59c5e77bac31eecffd009a3726543be95b11e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 Nov 2013 18:43:14 +0100 Subject: fix xbmc build, it uses distutils to find python include dir --- package/python2/patches/patch-Lib_distutils_sysconfig_py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/python2/patches/patch-Lib_distutils_sysconfig_py (limited to 'package') diff --git a/package/python2/patches/patch-Lib_distutils_sysconfig_py b/package/python2/patches/patch-Lib_distutils_sysconfig_py new file mode 100644 index 000000000..30aae0816 --- /dev/null +++ b/package/python2/patches/patch-Lib_distutils_sysconfig_py @@ -0,0 +1,10 @@ +--- Python-2.7.5.orig/Lib/distutils/sysconfig.py 2013-05-12 05:32:42.000000000 +0200 ++++ Python-2.7.5/Lib/distutils/sysconfig.py 2013-11-03 18:03:53.000000000 +0100 +@@ -76,6 +76,7 @@ def get_python_inc(plat_specific=0, pref + """ + if prefix is None: + prefix = plat_specific and EXEC_PREFIX or PREFIX ++ prefix = re.sub('host_', 'target_', prefix) + + if os.name == "posix": + if python_build: -- cgit v1.2.3