diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3/unixccompiler.patch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3/unixccompiler.patch b/meta/recipes-devtools/python/python3/unixccompiler.patch index b2229b4a57..7b90f13883 100644 --- a/meta/recipes-devtools/python/python3/unixccompiler.patch +++ b/meta/recipes-devtools/python/python3/unixccompiler.patch | |||
@@ -13,11 +13,13 @@ Index: Python-3.3.2/Lib/distutils/unixccompiler.py | |||
13 | =================================================================== | 13 | =================================================================== |
14 | --- Python-3.3.2.orig/Lib/distutils/unixccompiler.py 2013-05-15 09:32:54.000000000 -0700 | 14 | --- Python-3.3.2.orig/Lib/distutils/unixccompiler.py 2013-05-15 09:32:54.000000000 -0700 |
15 | +++ Python-3.3.2/Lib/distutils/unixccompiler.py 2013-08-01 00:58:18.629056286 -0700 | 15 | +++ Python-3.3.2/Lib/distutils/unixccompiler.py 2013-08-01 00:58:18.629056286 -0700 |
16 | @@ -202,7 +202,7 @@ | 16 | @@ -202,7 +202,9 @@ |
17 | # ccompiler.py. | 17 | # ccompiler.py. |
18 | 18 | ||
19 | def library_dir_option(self, dir): | 19 | def library_dir_option(self, dir): |
20 | - return "-L" + dir | 20 | - return "-L" + dir |
21 | + if dir.startswith("."): | ||
22 | + return "-L" + dir | ||
21 | + return "-L=" + dir | 23 | + return "-L=" + dir |
22 | 24 | ||
23 | def _is_gcc(self, compiler_name): | 25 | def _is_gcc(self, compiler_name): |