]> git.proxmox.com Git - mirror_lxc.git/commit - meson.build
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>
Sun, 30 Oct 2022 13:07:54 +0000 (00:07 +1100)
commitc1f87c8113a896fc0fd27f3f941bc7f3fa2754e5
treee8604d04b1c9ae39e2c4fa8f79255a3acf22313b
parentbc318926d701befde030b77948c343bb337b0713
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