Making number of arguments consistent in get_library_dirs

This commit is contained in:
makise-homura 2019-04-19 18:03:17 +03:00
parent 54f9ec4510
commit ebe78a14e6
1 changed files with 1 additions and 1 deletions

View File

@ -1736,7 +1736,7 @@ class ElbrusCompiler(GnuCompiler):
# FIXME: use _build_wrapper to call this so that linker flags from the env # FIXME: use _build_wrapper to call this so that linker flags from the env
# get applied # get applied
def get_library_dirs(self, env): def get_library_dirs(self, env, elf_class = None):
os_env = os.environ.copy() os_env = os.environ.copy()
os_env['LC_ALL'] = 'C' os_env['LC_ALL'] = 'C'
stdo = Popen_safe(self.exelist + ['--print-search-dirs'], env=os_env)[1] stdo = Popen_safe(self.exelist + ['--print-search-dirs'], env=os_env)[1]