meson: make source files including nspawn-settings.h depend on libseccomp
Since nspawn-settings.h includes seccomp.h, any file that includes
nspawn-settings.h should depend on libseccomp so the correct header path where
seccomp.h lives is added to the header search paths.
It's especially important for distros such as openSUSE where seccomp.h is not
shipped in /usr/include but /usr/include/libseccomp.
This patch is similar to 8238423095
.
This commit is contained in:
parent
8b803ad634
commit
9f3f596477
|
@ -128,12 +128,12 @@ fuzzers += [
|
|||
[['src/fuzz/fuzz-nspawn-settings.c'],
|
||||
[libshared,
|
||||
libnspawn_core],
|
||||
[]],
|
||||
[libseccomp]],
|
||||
|
||||
[['src/fuzz/fuzz-nspawn-oci.c'],
|
||||
[libshared,
|
||||
libnspawn_core],
|
||||
[]],
|
||||
[libseccomp]],
|
||||
|
||||
[['src/fuzz/fuzz-calendarspec.c'],
|
||||
[libshared],
|
||||
|
|
|
@ -48,7 +48,7 @@ tests += [
|
|||
[['src/nspawn/test-nspawn-tables.c'],
|
||||
[libnspawn_core,
|
||||
libshared],
|
||||
[]],
|
||||
[libseccomp]],
|
||||
|
||||
[['src/nspawn/test-patch-uid.c'],
|
||||
[libnspawn_core,
|
||||
|
|
Loading…
Reference in a new issue