From 075e3daa2f2c6b58b8878ed71f50f8b636d492a3 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Thu, 16 Sep 2021 01:33:49 +0200 Subject: [PATCH] meson: Allow to build both shared and static library See https://mesonbuild.com/Build-targets.html for more information. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 918f5bb..121c0b9 100644 --- a/meson.build +++ b/meson.build @@ -304,7 +304,7 @@ foreach tuple : tests endforeach libsystemd_sym_path = '@0@/@1@'.format(meson.current_source_dir(), libsystemd_sym) -libsystemd = shared_library( +libsystemd = library( 'basu', soversion : soversion, include_directories : includes, -- 2.45.2