summaryrefslogtreecommitdiff
path: root/package/python2/files
diff options
context:
space:
mode:
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)