]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
dnstap: fix compilation on Turris Omnia
authorJan Pavlinec <jan.pavlinec@nic.cz>
Tue, 16 Apr 2019 13:35:38 +0000 (15:35 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 16 Apr 2019 13:37:13 +0000 (15:37 +0200)
Fixes: #458
modules/dnstap/meson.build

index f629ca2e43157ee7dc2a05b99fc705d602efab22..c3aa0803c22d57626240296540c8d3024de1a611 100644 (file)
@@ -27,9 +27,8 @@ if build_dnstap
     'dnstap_pb',
     command: [
       protoc_c,
-      '--c_out=@OUTDIR@',
-      '--proto_path', meson.current_source_dir(),
-      'dnstap.proto',
+      '--c_out=' + meson.current_build_dir(),
+      '--proto_path', meson.current_source_dir(), join_paths([meson.current_source_dir(), 'dnstap.proto']),
     ],
     output: [
       'dnstap.pb-c.h',