Skip to contentSkip to conversation

package/netdata: add libcap optional dependency

Buildroot Peter Korsgaard 1 participant 1 message Nov 5, 2021

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=33160aeeb4c77fb7678545f07766d8a831beaea6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

libcap is an optional dependency which is enabled by default since the addition of the package in commit 1d2bb469078b5818aa2390b9868cd632200f17a2

---
 package/netdata/netdata.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/netdata/netdata.mk +7 -0
index 1c20c49dee..d66a9602e2 100644
@@ -33,6 +33,13 @@ else
 NETDATA_CONF_OPTS += --disable-jsonc
 endif
 
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+NETDATA_CONF_OPTS += --with-libcap
+NETDATA_DEPENDENCIES += libcap
+else
+NETDATA_CONF_OPTS += --without-libcap
+endif
+
 ifeq ($(BR2_PACKAGE_NFACCT),y)
 NETDATA_CONF_OPTS += --enable-plugin-nfacct
 NETDATA_DEPENDENCIES += nfacct

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot