summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-28 03:51:05 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-28 03:51:05 -0700
commitf3dd889d4462d14c9f0233540bccbf6a9720bcf0 (patch)
treebcf18bbf3a6f8d848a1fd5556973fc0f827996fa /lib
parentec107b290f0ad949f4f4008715b6860798220a7e (diff)
downloadspack-f3dd889d4462d14c9f0233540bccbf6a9720bcf0.tar.gz
spack-f3dd889d4462d14c9f0233540bccbf6a9720bcf0.tar.bz2
spack-f3dd889d4462d14c9f0233540bccbf6a9720bcf0.tar.xz
spack-f3dd889d4462d14c9f0233540bccbf6a9720bcf0.zip
Fix bug with lib64 RPATH setting in cc.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/spack/env/cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index c6a09724e9..17740250d1 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -293,9 +293,9 @@ for dep in "${deps[@]}"; do
if [[ -d $dep/lib64 ]]; then
# libraries+=("$dep/lib64")
if [[ $mode = ccld ]]; then
- args=("-L$dep/lib" "-Wl,-rpath,$dep/lib" "${args[@]}")
+ args=("-L$dep/lib64" "-Wl,-rpath,$dep/lib64" "${args[@]}")
elif [[ $mode = ld ]]; then
- args=("-L$dep/lib" "-rpath" "$dep/lib" "${args[@]}")
+ args=("-L$dep/lib64" "-rpath" "$dep/lib64" "${args[@]}")
fi
fi
done