From: Tomas Krizek Date: Tue, 29 Jan 2019 13:48:11 +0000 (+0100) Subject: meson: modules/edns_keepalive build X-Git-Tag: v4.0.0~24^2~230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eaaaaa882c93ac9a5b3f8d53ace1e328dfc4b170;p=thirdparty%2Fknot-resolver.git meson: modules/edns_keepalive build First functional kresd compilation \o/ --- diff --git a/modules/edns_keepalive/meson.build b/modules/edns_keepalive/meson.build new file mode 100644 index 000000000..2aea4a0a8 --- /dev/null +++ b/modules/edns_keepalive/meson.build @@ -0,0 +1,17 @@ +edns_keepalive_src = [ + 'edns_keepalive.c', +] + +edns_keepalive_mod = library( + 'edns_keepalive', + edns_keepalive_src, + name_prefix: '', + dependencies: [ + contrib_dep, + libkres_dep, + libknot, + ], + link_args: link_args_c_mods, + install: true, + install_dir: modules_dir, +) diff --git a/modules/meson.build b/modules/meson.build index 401fd8ed7..e6de3235a 100644 --- a/modules/meson.build +++ b/modules/meson.build @@ -24,7 +24,14 @@ lua_sources = [ ] +link_args_c_mods = [ # TODO test on mac + '-Wl,-undefined', + '-Wl,dynamic_lookup', +] + + subdir('daf') +subdir('edns_keepalive') subdir('policy')