]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_port/Makefile
mk: do not generate LDLIBS from directory dependencies
[dpdk.git] / lib / librte_port / Makefile
index 76629a13a3142902748cb773f14bb033695240c3..139dc59abb32013a8ab74c57fce7a10bf989fd59 100644 (file)
@@ -38,6 +38,11 @@ LIB = librte_port.a
 ifeq ($(CONFIG_RTE_PORT_PCAP),y)
 LDLIBS += -lpcap
 endif
+LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_ethdev
+LDLIBS += -lrte_ip_frag -lrte_sched
+ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
+LDLIBS += -lrte_kni
+endif
 
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)