diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-31 09:01:56 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-31 09:01:56 +0100 |
commit | e85afc45db93d7c66b63dd1e64189fad71d62080 (patch) | |
tree | 012f58f7a6a9c78ae5a511a04adba32798ba53d5 /package/python2/patches/patch-Misc_python-config_in | |
parent | 7c2dd6bb405b72023f6043ff7b0cca9347e449d2 (diff) | |
parent | f25b3442d6f58604117dfe73506e4d79f95c59d6 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2/patches/patch-Misc_python-config_in')
-rw-r--r-- | package/python2/patches/patch-Misc_python-config_in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/python2/patches/patch-Misc_python-config_in b/package/python2/patches/patch-Misc_python-config_in new file mode 100644 index 000000000..7ea806bea --- /dev/null +++ b/package/python2/patches/patch-Misc_python-config_in @@ -0,0 +1,13 @@ +--- Python-2.7.5.orig/Misc/python-config.in 2013-05-12 05:32:49.000000000 +0200 ++++ Python-2.7.5/Misc/python-config.in 2013-10-30 21:09:36.000000000 +0100 +@@ -37,8 +37,8 @@ for opt in opt_flags: + print sysconfig.EXEC_PREFIX + + elif opt in ('--includes', '--cflags'): +- flags = ['-I' + sysconfig.get_python_inc(), +- '-I' + sysconfig.get_python_inc(plat_specific=True)] ++ flags = ['-I' + re.sub('host_', 'target_', sysconfig.get_python_inc()), ++ '-I' + re.sub('host_', 'target_', sysconfig.get_python_inc(plat_specific=True))] + if opt == '--cflags': + flags.extend(getvar('CFLAGS').split()) + print ' '.join(flags) |