]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: modules/edns_keepalive build
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 29 Jan 2019 13:48:11 +0000 (14:48 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:41:50 +0000 (10:41 +0100)
First functional kresd compilation \o/

modules/edns_keepalive/meson.build [new file with mode: 0644]
modules/meson.build

diff --git a/modules/edns_keepalive/meson.build b/modules/edns_keepalive/meson.build
new file mode 100644 (file)
index 0000000..2aea4a0
--- /dev/null
@@ -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,
+)
index 401fd8ed7ec8abf92561a95a6f9fa83317e205de..e6de3235a151ee051f4607f8ed1daddce26ec476 100644 (file)
@@ -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')