From 6ef2eb8f7eecaad3f6162cc3fea7a83bec0e8dfd Mon Sep 17 00:00:00 2001 From: Paul Chelarescu Date: Tue, 7 Aug 2018 07:30:29 +0200 Subject: libstdc++ detection uses os.path.realpath instead of os.readlink (#8865) --- lib/spack/spack/abi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3-70-g09d2