summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-native/debug.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/python/python-native/debug.patch
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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'