From b101f744c25835ada0ad1782c2a430d22128f9ef Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sat, 14 Aug 2021 22:45:21 +0300 Subject: [PATCH] tcpreplay: avoid host lib leakage On hosts that have pcapnav-config installed, there is host lib leakage. From config.log: LNAVLIB='-L/usr/lib64 -lpcapnav -lpcap' LNAV_CFLAGS='-I/usr/include' Fix this by disabling pcapnav-config, which isn't available anyway. Signed-off-by: Stijn Tintel (cherry picked from commit e4b8fec79cd7d2ed092c51aa83683fa5b151ae2a) --- net/tcpreplay/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/tcpreplay/Makefile b/net/tcpreplay/Makefile index 78b4ef80c5..34e0529d00 100644 --- a/net/tcpreplay/Makefile +++ b/net/tcpreplay/Makefile @@ -131,7 +131,8 @@ CONFIGURE_VARS += \ ac_cv_lib_nl_nl_cache_alloc=no \ ac_cv_lib_nl_genl_3_genl_connect=no \ ac_cv_lib_nl_3_nl_cache_alloc=no \ - ac_cv_lib_dbus_1_dbus_malloc=no + ac_cv_lib_dbus_1_dbus_malloc=no \ + ac_cv_path_pcncfg=no CONFIGURE_ARGS += \ --enable-force-pf \ -- 2.30.2