diff options
-rw-r--r-- | lib/spack/spack/build_systems/meson.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/meson.py b/lib/spack/spack/build_systems/meson.py index 14fe093f28..3143ee8a43 100644 --- a/lib/spack/spack/build_systems/meson.py +++ b/lib/spack/spack/build_systems/meson.py @@ -101,9 +101,9 @@ class MesonPackage(PackageBase): strip = 'true' if '+strip' in pkg.spec else 'false' - if 'libs=static,shared' in pkg.spec: + if 'default_library=static,shared' in pkg.spec: default_library = 'both' - elif 'libs=static' in pkg.spec: + elif 'default_library=static' in pkg.spec: default_library = 'static' else: default_library = 'shared' |