[dpdk-dev] [PATCH v2 6/7] pdump: fix missing dependency on libpthread

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Jun 26 18:42:04 CEST 2016


From: Panu Matilainen <pmatilai at redhat.com>

Fixes: 278f945402c5 ("pdump: add new library for packet capture")

Signed-off-by: Panu Matilainen <pmatilai at redhat.com>
---
 lib/librte_pdump/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_pdump/Makefile b/lib/librte_pdump/Makefile
index 14cd53e..166441a 100644
--- a/lib/librte_pdump/Makefile
+++ b/lib/librte_pdump/Makefile
@@ -36,6 +36,7 @@ LIB = librte_pdump.a
 
 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
 CFLAGS += -D_GNU_SOURCE
+LDLIBS += -lpthread
 
 EXPORT_MAP := rte_pdump_version.map
 
-- 
2.7.0



More information about the dev mailing list