[dpdk-dev] [PATCH 08/19] test: fix test app to dynamically link pmd_pcap when needed
Neil Horman
nhorman at tuxdriver.com
Thu Apr 10 22:49:58 CEST 2014
the test application calls functions in the pmd_pcap driver directly. We should fix this properly, but for now just link in the library
Signed-off-by: Neil Horman <nhorman at tuxdriver.com>
---
mk/rte.app.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index d6fdf9e..0499050 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -162,8 +162,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_CMDLINE),y)
LDLIBS += -lrte_cmdline
endif
+ifeq ($(RTE_BUILD_SHARED_LIB),n)
ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),y)
-LDLIBS += -lrte_pmd_pcap -lpcap
+LDLIBS += -lrte_pmd_pcap
+endif
endif
LDLIBS += $(EXECENV_LDLIBS)
--
1.8.3.1
More information about the dev
mailing list