mk: fix vhost dependency to pthread
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 13 Jun 2016 11:06:56 +0000 (13:06 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Jun 2016 14:17:31 +0000 (16:17 +0200)
Add the missing external dependency to pthread to avoid referring to
symbols the library is not linked against.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
drivers/net/vhost/Makefile

index f49a69b..545d998 100644 (file)
@@ -36,6 +36,8 @@ include $(RTE_SDK)/mk/rte.vars.mk
 #
 LIB = librte_pmd_vhost.a
 
+LDLIBS += -lpthread
+
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)