From 0526364b8557ef979a9bddc1262baf684728d415 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 28 Nov 2020 15:21:02 +0100 Subject: [PATCH] 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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d1b68d5..4916ccd 100644 --- a/meson.build +++ b/meson.build @@ -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',