summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-native/debug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-native/debug.patch')
-rw-r--r--meta/recipes-devtools/python/python-native/debug.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-native/debug.patch b/meta/recipes-devtools/python/python-native/debug.patch
new file mode 100644
index 0000000000..5ec10d6b20
--- /dev/null
+++ b/meta/recipes-devtools/python/python-native/debug.patch
@@ -0,0 +1,29 @@
1Upstream-Status: Pending
2
3Index: Python-2.6.1/Lib/distutils/unixccompiler.py
4===================================================================
5--- Python-2.6.1.orig/Lib/distutils/unixccompiler.py 2009-11-13 16:04:54.000000000 +0000
6+++ Python-2.6.1/Lib/distutils/unixccompiler.py 2009-11-13 16:06:27.000000000 +0000
7@@ -300,6 +300,8 @@
8 dylib_f = self.library_filename(lib, lib_type='dylib')
9 static_f = self.library_filename(lib, lib_type='static')
10
11+ print "Looking in %s for %s" % (lib, dirs)
12+
13 for dir in dirs:
14 shared = os.path.join(dir, shared_f)
15 dylib = os.path.join(dir, dylib_f)
16@@ -309,10 +311,13 @@
17 # assuming that *all* Unix C compilers do. And of course I'm
18 # ignoring even GCC's "-static" option. So sue me.
19 if os.path.exists(dylib):
20+ print "Found %s" % (dylib)
21 return dylib
22 elif os.path.exists(shared):
23+ print "Found %s" % (shared)
24 return shared
25 elif os.path.exists(static):
26+ print "Found %s" % (static)
27 return static
28
29 # Oops, didn't find it in *any* of 'dirs'