Skip to contentSkip to conversation

package/iproute2: order after libcap and selinux

PATCH New Norbert Lange 3 participants 3 messages Jun 5, 2020 – Jul 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/iproute2: order after libcap and selinux

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

---
 package/iproute2/iproute2.mk | 8 ++++++++
 1 file changed, 8 insertions(+)
package/iproute2/iproute2.mk +8 -0
index 6d20f65f34..e5841cc460 100644
@@ -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
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/iproute2: order after libcap and selinux

Quoted 7 lines · On Sat, 6 Jun 2020 00:55:54 +0200 Norbert Lange <[email protected]> wrote:

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

---
 package/iproute2/iproute2.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

Applied to master with a tweaked commit title, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com