From 473b718f70c0afa7bc8b47a01cd558a0c1e84772 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Mon, 13 Jun 2016 13:06:56 +0200 Subject: [PATCH] mk: fix vhost dependency to pthread Add the missing external dependency to pthread to avoid referring to symbols the library is not linked against. Signed-off-by: Christian Ehrhardt --- drivers/net/vhost/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/vhost/Makefile b/drivers/net/vhost/Makefile index f49a69b3bd..545d998206 100644 --- a/drivers/net/vhost/Makefile +++ b/drivers/net/vhost/Makefile @@ -36,6 +36,8 @@ include $(RTE_SDK)/mk/rte.vars.mk # LIB = librte_pmd_vhost.a +LDLIBS += -lpthread + CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -- 2.20.1