summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/abi.py2
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)