tcpreplay: add libbpf dependency

Since compiling tcpbridge requires linking libbpf.so.1, compiling tcpbridge first may result in compilation failure, like:
Package tcpbridge is missing dependencies for the following libraries: libbpf.so.1

The simplest way to solve it is to add libbpf dependency in Makefile

Signed-off-by: TeleostNaCl Dai <teleostnacl@gmail.com>
This commit is contained in:
TeleostNaCl Dai
2025-11-16 12:05:11 +08:00
committed by Alexandru Ardelean
parent 47525f3300
commit 821f3f071c
+2 -2
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tcpreplay
PKG_VERSION:=4.5.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
@@ -35,7 +35,7 @@ define Package/tcpreplay/default
CATEGORY:=Network
URL:=http://tcpreplay.appneta.com/
MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
DEPENDS:=+librt +libpcap +libdnet +USE_MUSL:musl-fts
DEPENDS:=+librt +libpcap +libdnet +libbpf +USE_MUSL:musl-fts
endef
define Package/tcpbridge