pcap: use pcap-config to guess compilation flags
[dpdk.git] / app / test-pmd / Makefile
index 4f80442..761d1da 100644 (file)
@@ -39,10 +39,6 @@ APP = testpmd
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 
-ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),y)
-LDFLAGS += -lpcap
-endif
-
 #
 # all source are stored in SRCS-y
 #