vhost: fix combined lib link with -lfuse
authorNeil Horman <nhorman@tuxdriver.com>
Tue, 27 Jan 2015 14:39:54 +0000 (09:39 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 27 Jan 2015 15:58:45 +0000 (16:58 +0100)
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 <fbl@redhat.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.app.mk

index 9c8b06a..4294d9a 100644 (file)
@@ -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)