diff options
| author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2007-10-07 00:33:28 +0000 |
|---|---|---|
| committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2007-10-07 00:33:28 +0000 |
| commit | 6e90aae26efa66553063b74b9afa9563b70fb982 (patch) | |
| tree | dc0273068963d8e57f48f75875e5236153cf1cd9 /packages/python/python-native-2.5.1 | |
| parent | 496d5415774f03b6e09aee17763ac9432d9c2755 (diff) | |
| parent | 62007cb1fac3e5a7f4a09b61c7d3c3b7cd5fc8a7 (diff) | |
merge of '55c714e37be4606a4166b3df883d5f404d3889bf'
and 'd714000fc8a6b75093a93f01782724b65d31eac1'
Diffstat (limited to 'packages/python/python-native-2.5.1')
| -rw-r--r-- | packages/python/python-native-2.5.1/cross-distutils.patch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/python/python-native-2.5.1/cross-distutils.patch b/packages/python/python-native-2.5.1/cross-distutils.patch index 76ae883c1d..3356c1abbe 100644 --- a/packages/python/python-native-2.5.1/cross-distutils.patch +++ b/packages/python/python-native-2.5.1/cross-distutils.patch @@ -16,22 +16,20 @@ # python_build: (Boolean) if true, we're either building Python or # building an extension with an un-installed Python, so we use -@@ -192,7 +192,8 @@ +@@ -192,7 +192,7 @@ else: # The name of the config.h file changed in 2.2 config_h = 'pyconfig.h' - return os.path.join(inc_dir, config_h) -+ print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded" + return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) def get_makefile_filename(): -@@ -200,7 +201,8 @@ +@@ -200,7 +200,7 @@ if python_build: return os.path.join(os.path.dirname(sys.executable), "Makefile") lib_dir = get_python_lib(plat_specific=1, standard_lib=1) - return os.path.join(lib_dir, "config", "Makefile") -+ print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded" + return os.path.join(lib_dir, "config", "Makefile").replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) |
