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 <seccomp.h>.

Fixes: #12060
This commit is contained in:
Franck Bui 2019-03-22 11:09:08 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent ae408d77a9
commit 8238423095
1 changed files with 2 additions and 1 deletions

View 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