diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-03 18:18:22 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-14 22:03:24 +0200 |
commit | 41f81a4b3341e31546448edaf7e2b3e23cbd7eb5 (patch) | |
tree | 424db5df19bdfbb26f7e85c9547252ae396fefe1 | |
parent | Support Gentoo install scheme (diff) | |
download | pypy-41f81a4b3341e31546448edaf7e2b3e23cbd7eb5.tar.gz pypy-41f81a4b3341e31546448edaf7e2b3e23cbd7eb5.tar.bz2 pypy-41f81a4b3341e31546448edaf7e2b3e23cbd7eb5.zip |
Apply 1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch
No clue why we do that but let's grandfather it in.
-rw-r--r-- | lib-python/3/distutils/unixccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-python/3/distutils/unixccompiler.py b/lib-python/3/distutils/unixccompiler.py index c769135c0b..b017734490 100644 --- a/lib-python/3/distutils/unixccompiler.py +++ b/lib-python/3/distutils/unixccompiler.py @@ -250,7 +250,7 @@ class UnixCCompiler(CCompiler): # this time, there's no way to determine this information from # the configuration data stored in the Python installation, so # we use this hack. - compiler = os.path.basename(sysconfig.get_config_var("CC")) + compiler = os.path.basename(self.compiler[0]) if sys.platform[:6] == "darwin": # MacOSX's linker doesn't understand the -R flag at all return "-L" + dir |