[openwrt/openwrt] iproute2: add missing libbpf dependency
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 10 16:53:32 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fa468d4bcdc7e6eb84ea51d9b05368ed87c43aae
commit fa468d4bcdc7e6eb84ea51d9b05368ed87c43aae
Author: Kien Truong <duckientruong at gmail.com>
AuthorDate: Sat Sep 10 15:25:35 2022 +0700
iproute2: add missing libbpf dependency
This patch adds libbpf to the dependencies of tc-mod-iptables.
The package tc-mod-iptables is missing libbpf as a dependency,
which leads to the build failure described in bug #9491
LIBBPF_FORCE=on set, but couldn't find a usable libbpf
The build dependency is already automatically added because some other
packages from iproute2 depend on libbpf, but bpftools has multiple build
variants. With multiple build variants none gets build by default and
the build system will not build bpftools before iproute2.
Fixes: #9491
Signed-off-by: Kien Truong <duckientruong at gmail.com>
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/network/utils/iproute2/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 4c21d4d877..5255400513 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -82,7 +82,7 @@ define Package/tc-mod-iptables
$(call Package/iproute2/Default)
TITLE:=Traffic control module - iptables action
VARIANT:=tcfull
- DEPENDS:=+libxtables
+ DEPENDS:=+libxtables +libbpf
endef
define Package/genl
More information about the lede-commits
mailing list