diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/spack/env/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc index e6cca1c51f..aa3c2aa4b1 100755 --- a/lib/spack/env/cc +++ b/lib/spack/env/cc @@ -218,7 +218,7 @@ fi add_rpaths=true if [[ ($mode == ld || $mode == ccld) && "$SPACK_SHORT_SPEC" =~ "darwin" ]]; then for arg in "$@"; do - if [[ ($arg == -r && $mode == ld) || ($arg == -Wl,-r && $mode == ccld) ]]; then + if [[ ($arg == -r && $mode == ld) || ($arg == -r && $mode == ccld) || ($arg == -Wl,-r && $mode == ccld) ]]; then add_rpaths=false break fi |