[Buildroot] [git commit branch/2020.05.x] package/iproute2: add optional dependencies on libselinux and libcap

Peter Korsgaard peter at korsgaard.com
Sun Jul 5 22:09:01 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=c52a7a09bb5460e78339665f1c54afee61eb6cd0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.05.x

The configure script will automatically detect used pkg-config if
libcap or libselinux are available.

Signed-off-by: Norbert Lange <nolange79 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 1b9f6fd03918f5ee00460efdf09422e98789bdbb)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/iproute2/iproute2.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

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


More information about the buildroot mailing list