[lxc/lxc] 7d7235: meson.build: fix build with -Dcapabilities=false

0 views
Skip to first unread message

Stéphane Graber

unread,
Jul 14, 2022, 11:45:54 AM7/14/22
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7d72354898feac15bc4082130bcbe638bae02450
https://github.com/lxc/lxc/commit/7d72354898feac15bc4082130bcbe638bae02450
Author: Fabrice Fontaine <fontaine...@gmail.com>
Date: 2022-07-14 (Thu, 14 Jul 2022)

Changed paths:
M meson.build

Log Message:
-----------
meson.build: fix build with -Dcapabilities=false

Define libcap_static to an empty array to avoid the following build
failure with -Dcapabilities=false:

output/build/lxc-5.0.0/src/lxc/cmd/meson.build:64:4: ERROR: Unknown variable "libcap_static".

Signed-off-by: Fabrice Fontaine <fontaine...@gmail.com>


Commit: 9a40624c82ffc8e165c7cd312ad6531a4bdcdc91
https://github.com/lxc/lxc/commit/9a40624c82ffc8e165c7cd312ad6531a4bdcdc91
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2022-07-14 (Thu, 14 Jul 2022)

Changed paths:
M meson.build

Log Message:
-----------
Merge pull request #4167 from ffontaine/master

meson.build: fix build with -Dcapabilities=false


Compare: https://github.com/lxc/lxc/compare/4ef148de7a18...9a40624c82ff
Reply all
Reply to author
Forward
0 new messages