diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index fa79683717..3476df89d9 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -497,16 +497,16 @@ def _static_to_shared_library(arch, compiler, static_lib, shared_lib=None, compiler_args = [ '-dynamiclib', - '-install_name {0}'.format(install_name), + '-install_name', '{0}'.format(install_name), '-Wl,-force_load,{0}'.format(static_lib) ] if compat_version: - compiler_args.append('-compatibility_version {0}'.format( - compat_version)) + compiler_args.extend(['-compatibility_version', '{0}'.format( + compat_version)]) if version: - compiler_args.append('-current_version {0}'.format(version)) + compiler_args.extend(['-current_version', '{0}'.format(version)]) if len(arguments) > 0: compiler_args.extend(arguments) |