summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-07-01 22:37:36 +0200
committerGitHub <noreply@github.com>2021-07-01 14:37:36 -0600
commit4a8a6b4c9d84e7a00bcc6848df7189f1878f6747 (patch)
tree8fdc976192b6a32a6f6842573c7aab97faac3171 /lib
parentc5a27980df7ca8be7ba9d133c55d4c4de81e1284 (diff)
downloadspack-4a8a6b4c9d84e7a00bcc6848df7189f1878f6747.tar.gz
spack-4a8a6b4c9d84e7a00bcc6848df7189f1878f6747.tar.bz2
spack-4a8a6b4c9d84e7a00bcc6848df7189f1878f6747.tar.xz
spack-4a8a6b4c9d84e7a00bcc6848df7189f1878f6747.zip
meson: fix typo (libs instead of default_library) (#24649)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/meson.py4
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'