summaryrefslogtreecommitdiff
path: root/package/python2/files/python-config.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
commit46b2bb3001ce838ba2483a08418587d8a027f3a9 (patch)
treeb2b618839b5afcc859fcb90556e6f199d9a9a10c /package/python2/files/python-config.in
parent88d3e6d6c572143bd95a589a44e30bfefd616b88 (diff)
parent902ee7e7b23751ca7a8264d36a837aa4aae12032 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/python2/files/python-config.in')
-rw-r--r--package/python2/files/python-config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/python2/files/python-config.in b/package/python2/files/python-config.in
index 8419bd84a..0074d0304 100644
--- a/package/python2/files/python-config.in
+++ b/package/python2/files/python-config.in
@@ -38,8 +38,8 @@ for opt in opt_flags:
print sysconfig.EXEC_PREFIX
elif opt in ('--includes', '--cflags'):
- flags = ['-I' + re.sub('host/', 'target/usr/', sysconfig.get_python_inc()),
- '-I' + re.sub('host/', 'target/usr/', 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)