summaryrefslogtreecommitdiffstats
path: root/package/tcpreplay/tcpreplay.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcpreplay/tcpreplay.mk')
-rw-r--r--package/tcpreplay/tcpreplay.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/tcpreplay/tcpreplay.mk b/package/tcpreplay/tcpreplay.mk
index b32810f78d..0723c02d28 100644
--- a/package/tcpreplay/tcpreplay.mk
+++ b/package/tcpreplay/tcpreplay.mk
@@ -20,6 +20,10 @@ TCPREPLAY_LIBS = $(STAGING_DIR)/usr/bin/pcap-config --static --libs
TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close="`$(TCPREPLAY_LIBS)`" \
LIBS="`$(TCPREPLAY_LIBS)`"
+ifeq ($(BR2_STATIC_LIBS),y)
+TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no
+endif
+
ifeq ($(BR2_PACKAGE_TCPDUMP),y)
TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=/usr/sbin/tcpdump
else
OpenPOWER on IntegriCloud