]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: add libseccomp as a nspawn dep (#12067)
authorFranck Bui <fbui@suse.com>
Fri, 22 Mar 2019 10:09:08 +0000 (11:09 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 22 Mar 2019 10:09:08 +0000 (11:09 +0100)
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 <seccomp.h>.

Fixes: #12060
meson.build

index 8554015e67f04b2abac51dd2387d70e0fee47142..d242888f37f0368d034eb20c89de9900e460dc93 100644 (file)
@@ -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