]> git.ipfire.org Git - thirdparty/lxc.git/commit
build: fix handling of dependancies to fix build on openSUSE
authorAleksa Sarai <cyphar@cyphar.com>
Fri, 28 Oct 2022 01:38:20 +0000 (12:38 +1100)
committerAleksa Sarai <cyphar@cyphar.com>
Fri, 28 Oct 2022 03:34:27 +0000 (14:34 +1100)
commit062c2d9803074c62e801f61d4957bbefa1e9398a
tree2d383d224c862fbf7dd0f3e2cfc66ba72c120b80
parent2a9743bba63903b66331b0b90fe2c25784585b89
build: fix handling of dependancies to fix build on openSUSE

Among other things, openSUSE places seccomp.h inside a non-default
include directory (/usr/include/seccomp/seccomp.h) which revealed
several issues with how dependencies were being handled previously.

The most notable issue is that the include cflags of our build
dependencies were not being provided to the recipes for static
executables (yet they still expected access to the dependency headers).

This also involved a minor cleanup of how these dependencies are
collected, and added liburing to the set of private pkg-config libs
(which I assume was an oversight?).

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
meson.build
src/lxc/cmd/meson.build
src/lxc/meson.build