mk: do not generate LDLIBS from directory dependencies
[dpdk.git] / lib / librte_mbuf / Makefile
index 5482730..f6be353 100644 (file)
@@ -35,6 +35,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
 LIB = librte_mbuf.a
 
 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
+LDLIBS += -lrte_eal -lrte_mempool
 
 EXPORT_MAP := rte_mbuf_version.map