diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-12 11:53:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-12 11:53:47 +0100 |
commit | 1820537b047086ac5d5c042296372a9ce2c5c822 (patch) | |
tree | 267f9cf7e8aea75053a1b907aca4e52c22f6cd71 /package/python2/files/patch-Misc_python-config_in | |
parent | 9f7250f4f4f15eb9c261641ee83cae88d5b05684 (diff) |
another try to fix python problems
Diffstat (limited to 'package/python2/files/patch-Misc_python-config_in')
-rw-r--r-- | package/python2/files/patch-Misc_python-config_in | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/python2/files/patch-Misc_python-config_in b/package/python2/files/patch-Misc_python-config_in deleted file mode 100644 index 9734d4fbd..000000000 --- a/package/python2/files/patch-Misc_python-config_in +++ /dev/null @@ -1,21 +0,0 @@ ---- 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:29:47.000000000 +0100 -@@ -3,6 +3,7 @@ - import sys - import os - import getopt -+import re - from distutils import sysconfig - - valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', -@@ -37,8 +38,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) |