[dpdk-dev,2/3] lib/librte_vhost: add lib/librte_vhost support in mk/rte.app.mk
Commit Message
Vhost library is turned off by default as it depends on fuse library. User needs to turn on vhost in configure file manually.
Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
mk/rte.app.mk | 5 +++++
1 file changed, 5 insertions(+)
@@ -190,6 +190,11 @@ ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
LDLIBS += -lrte_pmd_virtio_uio
endif
+ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)
+LDLIBS += -lrte_vhost
+LDLIBS += -lfuse
+endif
+
ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y)
LDLIBS += -lrte_pmd_i40e
endif