]> git.ipfire.org Git - thirdparty/lxc.git/commit
build: only build init.lxc.static if libcap is statically linkable
authorAleksa Sarai <cyphar@cyphar.com>
Fri, 28 Oct 2022 01:44:39 +0000 (12:44 +1100)
committerAleksa Sarai <cyphar@cyphar.com>
Sun, 30 Oct 2022 13:07:55 +0000 (00:07 +1100)
commit5aff4ea371352a230ab2c5ad8edd2e0dd736ee39
tree116754deb186c3c54bdfd090daf60a664bc70e29
parentc1f87c8113a896fc0fd27f3f941bc7f3fa2754e5
build: only build init.lxc.static if libcap is statically linkable

Without setting this, the default build will fail if you don't have the
static libcap library installed (on openSUSE this is packaged separately
to libcap-devel).

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