From: Fred Morcos Date: Tue, 15 Aug 2023 11:27:41 +0000 (+0200) Subject: Meson: Build ext/json11 as a static_library X-Git-Tag: rec-5.1.0-alpha1~80^2~257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b10ea4bc7f899b5492663d379abed7a2a5ffedd;p=thirdparty%2Fpdns.git Meson: Build ext/json11 as a static_library --- diff --git a/ext/json11/meson.build b/ext/json11/meson.build index 1f001c927f..8557170db7 100644 --- a/ext/json11/meson.build +++ b/ext/json11/meson.build @@ -3,7 +3,12 @@ module_sources = [ 'json11.hpp', ] +lib_json11 = static_library( + 'json11', + module_sources, +) + dep_json11 = declare_dependency( - sources: module_sources, + link_with: lib_json11, include_directories: include_directories('.'), )