meson: allow building a static version of libpkgconf

when using library() instead of shared_library() the user can decide
to build a shared or static version, or both. The default is still shared
as before.

This mirrors what the autotools based build sysstem can do.
master
Christoph Reiter 2020-11-28 15:21:02 +01:00 committed by Ariadne Conill
parent a69bdfa28e
commit 0526364b85
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ cdata.set('abs_top_builddir', meson.build_root())
subdir('libpkgconf') subdir('libpkgconf')
libpkgconf = shared_library('pkgconf', libpkgconf = library('pkgconf',
'libpkgconf/argvsplit.c', 'libpkgconf/argvsplit.c',
'libpkgconf/audit.c', 'libpkgconf/audit.c',
'libpkgconf/bsdstubs.c', 'libpkgconf/bsdstubs.c',