diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 3510ae8ac8..8beedf6c97 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -538,7 +538,7 @@ def _static_to_shared_library(arch, compiler, static_lib, shared_lib=None, # TODO: Compiler arguments should not be hardcoded but provided by # the different compiler classes. - if 'linux' in arch: + if 'linux' in arch or 'cray' in arch: soname = os.path.basename(shared_lib) if compat_version: |