From: Panu Matilainen Date: Wed, 11 Feb 2015 13:43:10 +0000 (+0200) Subject: mk: fix vhost linking X-Git-Tag: spdx-start~9773 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e693b0100f6db161ed7a6a71695b4e7f996e4e7c;p=dpdk.git mk: fix vhost linking librte_vhost is not a plugin but a library, move it to proper section to fix sample app build in shared, non-combined library setup. Signed-off-by: Panu Matilainen Acked-by: Sergio Gonzalez Monroy --- diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 95dbb0b0b7..334cb253fb 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -125,6 +125,10 @@ LDLIBS += -lm LDLIBS += -lrt endif +ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y) +LDLIBS += -lrte_vhost +endif + endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),y) @@ -199,10 +203,6 @@ ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y) LDLIBS += -lrte_pmd_virtio_uio endif -ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y) -LDLIBS += -lrte_vhost -endif - ifeq ($(CONFIG_RTE_LIBRTE_ENIC_PMD),y) LDLIBS += -lrte_pmd_enic endif