diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2010-12-28 02:59:45 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-01-07 14:42:31 -0800 |
commit | 412ab1b8234785f3c19f545bd5041b74169b167f (patch) | |
tree | f360387ce155ea91e27422a7ed778608e0dc200a /recipes/python/python-native-2.7.1/debug.patch | |
parent | c65ccdbe7c6f5c283a31b182931cddb5aa07fcd0 (diff) | |
download | openembedded-412ab1b8234785f3c19f545bd5041b74169b167f.tar.gz |
python: Initial commit of python 2.7.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/python/python-native-2.7.1/debug.patch')
-rw-r--r-- | recipes/python/python-native-2.7.1/debug.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/python/python-native-2.7.1/debug.patch b/recipes/python/python-native-2.7.1/debug.patch new file mode 100644 index 0000000000..c7f5081b35 --- /dev/null +++ b/recipes/python/python-native-2.7.1/debug.patch @@ -0,0 +1,27 @@ +Index: Python-2.7.1/Lib/distutils/unixccompiler.py +=================================================================== +--- Python-2.7.1.orig/Lib/distutils/unixccompiler.py 2010-06-27 08:36:16.000000000 -0400 ++++ Python-2.7.1/Lib/distutils/unixccompiler.py 2010-12-26 10:09:44.282632589 -0500 +@@ -318,6 +318,8 @@ + + + ++ print "Looking in %s for %s" % (lib, dirs) ++ + for dir in dirs: + shared = os.path.join(dir, shared_f) + dylib = os.path.join(dir, dylib_f) +@@ -336,10 +338,13 @@ + # assuming that *all* Unix C compilers do. And of course I'm + # ignoring even GCC's "-static" option. So sue me. + if os.path.exists(dylib): ++ print "Found %s" % (dylib) + return dylib + elif os.path.exists(shared): ++ print "Found %s" % (shared) + return shared + elif os.path.exists(static): ++ print "Found %s" % (static) + return static + + # Oops, didn't find it in *any* of 'dirs' |