mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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 <nolange79@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
0c00d881c2
commit
1b9f6fd039
@@ -16,6 +16,14 @@ ifeq ($(BR2_PACKAGE_ELFUTILS),y)
|
|||||||
IPROUTE2_DEPENDENCIES += elfutils
|
IPROUTE2_DEPENDENCIES += elfutils
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx)
|
||||||
IPROUTE2_DEPENDENCIES += iptables
|
IPROUTE2_DEPENDENCIES += iptables
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user