diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-28 03:51:05 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-28 03:51:05 -0700 |
commit | f3dd889d4462d14c9f0233540bccbf6a9720bcf0 (patch) | |
tree | bcf18bbf3a6f8d848a1fd5556973fc0f827996fa /lib | |
parent | ec107b290f0ad949f4f4008715b6860798220a7e (diff) | |
download | spack-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-x | lib/spack/env/cc | 4 |
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 |