Make libstdc++-detection work on Darwin (#1778)
This commit is contained in:
parent
2a823fbdfd
commit
6117ef44e4
@ -54,10 +54,10 @@ def _gcc_get_libstdcxx_version(self, version):
|
||||
output = None
|
||||
if compiler.cxx:
|
||||
rungcc = Executable(compiler.cxx)
|
||||
libname = "libstdc++.so"
|
||||
libname = "libstdc++." + dso_suffix
|
||||
elif compiler.cc:
|
||||
rungcc = Executable(compiler.cc)
|
||||
libname = "libgcc_s.so"
|
||||
libname = "libgcc_s." + dso_suffix
|
||||
else:
|
||||
return None
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user