From 88fa98a60b34812bfed92e5b2706fcf7e1cbcbc8 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Tue, 27 Jan 2015 09:39:54 -0500 Subject: [PATCH] vhost: fix combined lib link with -lfuse The vhost library relies on libfuse, and thats included when we do a normal shared object build, but when we specify combined libs, its gets left out. Add it back in. Reported-by: Flavio Leitner Signed-off-by: Neil Horman Acked-by: Thomas Monjalon --- mk/rte.app.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 9c8b06a89c..4294d9a406 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -131,6 +131,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),y) LDLIBS += -lpcap endif +ifeq ($(CONFIG_RTE_LIBRTE_VHOST),y) +LDLIBS += -lfuse +endif + LDLIBS += --start-group ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),n) @@ -197,7 +201,6 @@ endif ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y) LDLIBS += -lrte_vhost -LDLIBS += -lfuse endif ifeq ($(CONFIG_RTE_LIBRTE_ENIC_PMD),y) -- 2.20.1