]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
meson: modules/stats - build
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 29 Jan 2019 15:37:31 +0000 (16:37 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:41:51 +0000 (10:41 +0100)
modules/meson.build
modules/stats/meson.build [new file with mode: 0644]

index 8ef874e2958d83d35fc4b8ed9e6e300bfccaa09c..f1d0bdd7598e17f40fb75f2d9e4cb6ba5cd971fb 100644 (file)
@@ -30,6 +30,7 @@ subdir('edns_keepalive')
 subdir('hints')
 subdir('nsid')
 subdir('policy')
+subdir('stats')
 
 
 # TODO c modules
diff --git a/modules/stats/meson.build b/modules/stats/meson.build
new file mode 100644 (file)
index 0000000..e39126a
--- /dev/null
@@ -0,0 +1,17 @@
+stats_src = [
+  'stats.c',
+]
+
+stats_mod = shared_module(
+  'stats',
+  stats_src,
+  dependencies: [
+    contrib_dep,
+    libkres_dep,
+    libknot,
+    luajit,
+  ],
+  name_prefix: '',
+  install: true,
+  install_dir: modules_dir,
+)