From: Norbert Lange Date: Fri, 5 Jun 2020 22:55:54 +0000 (+0200) Subject: package/iproute2: add optional dependencies on libselinux and libcap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b9f6fd03918f5ee00460efdf09422e98789bdbb;p=buildroot.git package/iproute2: add optional dependencies on libselinux and libcap The configure script will automatically detect used pkg-config if libcap or libselinux are available. Signed-off-by: Norbert Lange Signed-off-by: Thomas Petazzoni --- diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 6d20f65f34..e5841cc460 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -16,6 +16,14 @@ ifeq ($(BR2_PACKAGE_ELFUTILS),y) IPROUTE2_DEPENDENCIES += elfutils endif +ifeq ($(BR2_PACKAGE_LIBCAP),y) +IPROUTE2_DEPENDENCIES += libcap +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +IPROUTE2_DEPENDENCIES += libselinux +endif + ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx) IPROUTE2_DEPENDENCIES += iptables else