From: Christian Ehrhardt Date: Mon, 13 Jun 2016 11:06:56 +0000 (+0200) Subject: mk: fix vhost dependency to pthread X-Git-Tag: spdx-start~6779 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=473b718f70c0afa7bc8b47a01cd558a0c1e84772;p=dpdk.git 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 --- 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)