Skip to contentSkip to conversation

Fix for YB6467

PATCH New Roxana 1 participant 2 messages Jun 30, 2014

lore
Share & tools
lore

Roxana

author
#0 lore raw

cover Fix for YB6467

The following changes since commit 6b5484d17df275b706a2b3c06bf7988da5818000:

Revert "libusb: add missing build dependency on udev" (2014-06-29 10:00:44 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib roxana/YB6467
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=roxana/YB6467

Roxana (1):
python3: fix builtins imports

 meta/recipes-devtools/python/python3/unixccompiler.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 python3: fix builtins imports

On some Linux distros the current working directory is not added to the linker's path.
Issue reproduced on Ubuntu 14.04 LTS.

Fix for [YOCTO #6467].

---
 meta/recipes-devtools/python/python3/unixccompiler.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/python/python3/unixccompiler.patch +3 -1
index b2229b4..7b90f13 100644
@@ -13,11 +13,13 @@ Index: Python-3.3.2/Lib/distutils/unixccompiler.py
 ===================================================================
 --- Python-3.3.2.orig/Lib/distutils/unixccompiler.py	2013-05-15 09:32:54.000000000 -0700
 +++ Python-3.3.2/Lib/distutils/unixccompiler.py	2013-08-01 00:58:18.629056286 -0700
-@@ -202,7 +202,7 @@
+@@ -202,7 +202,9 @@
      # ccompiler.py.
  
      def library_dir_option(self, dir):
 -        return "-L" + dir
++        if dir.startswith("."):
++            return "-L" + dir
 +        return "-L=" + dir
  
      def _is_gcc(self, compiler_name):
Signature · 1 line
1.9.1