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.pull/208/head
parent
a69bdfa28e
commit
0526364b85
|
@ -45,7 +45,7 @@ cdata.set('abs_top_builddir', meson.build_root())
|
|||
|
||||
subdir('libpkgconf')
|
||||
|
||||
libpkgconf = shared_library('pkgconf',
|
||||
libpkgconf = library('pkgconf',
|
||||
'libpkgconf/argvsplit.c',
|
||||
'libpkgconf/audit.c',
|
||||
'libpkgconf/bsdstubs.c',
|
||||
|
|
Loading…
Reference in New Issue