summaryrefslogtreecommitdiff
path: root/package/python2/patches/patch-Lib_distutils_sysconfig_py
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-15 14:12:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-15 14:12:00 +0100
commit24db4fb9b27f4ea87b3ecdf8fd4dd07b62ba9514 (patch)
treecec2d85b768a617ae371837eec7069e7f155e568 /package/python2/patches/patch-Lib_distutils_sysconfig_py
parentf377248abda877e2a945f4152e3e57bbaaeec1ca (diff)
parent7260a427d88f1cbfcd8534c5f7805b4b56efb544 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2/patches/patch-Lib_distutils_sysconfig_py')
-rw-r--r--package/python2/patches/patch-Lib_distutils_sysconfig_py10
1 files changed, 10 insertions, 0 deletions
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: