diff options
author | Paul Chelarescu <paulchelarescu@gmail.com> | 2018-08-07 07:30:29 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-08-06 22:30:29 -0700 |
commit | 6ef2eb8f7eecaad3f6162cc3fea7a83bec0e8dfd (patch) | |
tree | 37b7fdd19c7d0d187504ed56afa2a43ac1aeada5 /lib | |
parent | e380b08bab440c42e0a18c93161fbfb117f83755 (diff) | |
download | spack-6ef2eb8f7eecaad3f6162cc3fea7a83bec0e8dfd.tar.gz spack-6ef2eb8f7eecaad3f6162cc3fea7a83bec0e8dfd.tar.bz2 spack-6ef2eb8f7eecaad3f6162cc3fea7a83bec0e8dfd.tar.xz spack-6ef2eb8f7eecaad3f6162cc3fea7a83bec0e8dfd.zip |
libstdc++ detection uses os.path.realpath instead of os.readlink (#8865)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/abi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/abi.py b/lib/spack/spack/abi.py index 1f7e16cfdb..ce31ebecbb 100644 --- a/lib/spack/spack/abi.py +++ b/lib/spack/spack/abi.py @@ -74,7 +74,7 @@ class ABI(object): return None if not output: return None - libpath = os.readlink(output.strip()) + libpath = os.path.realpath(output.strip()) if not libpath: return None return os.path.basename(libpath) |