From: Fred Morcos Date: Tue, 15 Aug 2023 11:27:21 +0000 (+0200) Subject: Meson: Turn ext/yahttp into a dependency X-Git-Tag: rec-5.1.0-alpha1~80^2~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91ebdb96a2b4361603cba0f6a15c88718a0f86e2;p=thirdparty%2Fpdns.git Meson: Turn ext/yahttp into a dependency --- diff --git a/ext/yahttp/yahttp/meson.build b/ext/yahttp/yahttp/meson.build index 26ee631a1e..86c4f03204 100644 --- a/ext/yahttp/yahttp/meson.build +++ b/ext/yahttp/yahttp/meson.build @@ -11,8 +11,14 @@ module_sources = [ 'yahttp.hpp', ] +lib_yahttp = static_library( + 'yahttp', + module_sources, + cpp_args: '-Wno-overloaded-virtual', + include_directories: toplevel_includes, +) + dep_yahttp = declare_dependency( - compile_args: '-Wno-overloaded-virtual', - sources: module_sources, + link_with: lib_yahttp, include_directories: include_directories('..'), )