From: Franck Bui Date: Fri, 22 Mar 2019 10:09:08 +0000 (+0100) Subject: meson: add libseccomp as a nspawn dep (#12067) X-Git-Tag: v242-rc1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8238423095ca54c48d9408a5da13e0325b31e6f6;p=thirdparty%2Fsystemd.git 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 --- diff --git a/meson.build b/meson.build index 8554015e67f..d242888f37f 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