tcpreplay: add libxdp as dependency

If libxdp is built before tcpreplay, it will pick it up.
So, might as well just add it as a dependency (for now).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2025-12-30 15:38:03 +02:00
committed by Hannu Nyman
parent 3554c264f5
commit 529150016e

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tcpreplay
PKG_VERSION:=4.5.2
PKG_RELEASE:=2
PKG_RELEASE:=3
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 +libbpf +USE_MUSL:musl-fts
DEPENDS:=+librt +libpcap +libdnet +libbpf +libxdp +USE_MUSL:musl-fts
endef
define Package/tcpbridge
@@ -139,7 +139,6 @@ CONFIGURE_VARS += \
ac_cv_path_pcncfg=no
CONFIGURE_ARGS += \
--enable-force-pf \
--enable-dynamic-link \
--with-libdnet="$(STAGING_DIR)/usr" \
--with-libpcap="$(STAGING_DIR)/usr"