meson: fix typo (libs instead of default_library) (#24649)

This commit is contained in:
Harmen Stoppels 2021-07-01 22:37:36 +02:00 committed by GitHub
parent c5a27980df
commit 4a8a6b4c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,9 +101,9 @@ def _std_args(pkg):
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'