Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/iproute2: order after libcap and selinux
@ 2020-06-05 22:55 Norbert Lange
  2020-06-06 19:35 ` Thomas Petazzoni
  2020-07-05 22:11 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Norbert Lange @ 2020-06-05 22:55 UTC (permalink / raw)
  To: buildroot

the configuration will automatically detect
if libcap / selinux is available.

Signed-off-by: Norbert Lange <nolange79@gmail.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
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-05 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-05 22:55 [Buildroot] [PATCH] package/iproute2: order after libcap and selinux Norbert Lange
2020-06-06 19:35 ` Thomas Petazzoni
2020-07-05 22:11 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox