diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/python/python3/unixccompiler.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3/unixccompiler.patch b/meta/recipes-devtools/python/python3/unixccompiler.patch index 7b90f13883..3e2b1d1c2e 100644 --- a/meta/recipes-devtools/python/python3/unixccompiler.patch +++ b/meta/recipes-devtools/python/python3/unixccompiler.patch | |||
@@ -18,9 +18,9 @@ Index: Python-3.3.2/Lib/distutils/unixccompiler.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("."): | 21 | + if dir.startswith("/"): |
22 | + return "-L" + dir | 22 | + return "-L=" + dir |
23 | + return "-L=" + dir | 23 | + return "-L" + dir |
24 | 24 | ||
25 | def _is_gcc(self, compiler_name): | 25 | def _is_gcc(self, compiler_name): |
26 | return "gcc" in compiler_name or "g++" in compiler_name | 26 | return "gcc" in compiler_name or "g++" in compiler_name |