summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-09-14 22:42:14 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2016-09-15 10:42:14 +0800
commit6117ef44e40358afe11e629309b344658cbe6cc3 (patch)
tree8e1309c379be954e4231f515bb19189a7a891ba2
parent2a823fbdfdf9d24d66d3b80ee579532e3eea4c74 (diff)
downloadspack-6117ef44e40358afe11e629309b344658cbe6cc3.tar.gz
spack-6117ef44e40358afe11e629309b344658cbe6cc3.tar.bz2
spack-6117ef44e40358afe11e629309b344658cbe6cc3.tar.xz
spack-6117ef44e40358afe11e629309b344658cbe6cc3.zip
Make libstdc++-detection work on Darwin (#1778)
-rw-r--r--lib/spack/spack/abi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/abi.py b/lib/spack/spack/abi.py
index 064abb9782..7a6f9c3f40 100644
--- a/lib/spack/spack/abi.py
+++ b/lib/spack/spack/abi.py
@@ -54,10 +54,10 @@ class ABI(object):
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: