summaryrefslogtreecommitdiff
path: root/package/python2/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-12 19:07:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 19:07:20 +0100
commit0eae06e5fb400328ae0956aafffcf1b5082c9a15 (patch)
tree7686152246bf0afcdb4696593c5f9a1559e834ea /package/python2/files
parent917da64a3d68249942cb842dbd9e5504d72f9989 (diff)
fix cross-compile under Darwin
Diffstat (limited to 'package/python2/files')
-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)