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
|
output = None
|
||||||
if compiler.cxx:
|
if compiler.cxx:
|
||||||
rungcc = Executable(compiler.cxx)
|
rungcc = Executable(compiler.cxx)
|
||||||
libname = "libstdc++.so"
|
libname = "libstdc++." + dso_suffix
|
||||||
elif compiler.cc:
|
elif compiler.cc:
|
||||||
rungcc = Executable(compiler.cc)
|
rungcc = Executable(compiler.cc)
|
||||||
libname = "libgcc_s.so"
|
libname = "libgcc_s." + dso_suffix
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user