From 8238423095ca54c48d9408a5da13e0325b31e6f6 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 22 Mar 2019 11:09:08 +0100 Subject: [PATCH] meson: add libseccomp as a nspawn dep (#12067) Due to this specific change: d0b6a10#diff-0203416587516c224c8fcfe8129e7caeR8, systemd-nspawn uses libseccomp now if it is available. We we need to pass -I/usr/include /libseccomp (or wherever seccomp.h is located) when compiling systemd-nspawn because nspawn-settings.h does #include . Fixes: #12060 --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8554015e67..d242888f37 100644 --- a/meson.build +++ b/meson.build @@ -2732,7 +2732,8 @@ exe = executable('systemd-nspawn', link_with : [libcore_shared, libnspawn_core, libshared], - dependencies : [libblkid], + dependencies : [libblkid, + libseccomp], install_rpath : rootlibexecdir, install : true) public_programs += exe