From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 83FB99AA7 for ; Wed, 11 Feb 2015 14:43:16 +0100 (CET) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1BDhESu003200 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 11 Feb 2015 08:43:15 -0500 Received: from localhost.localdomain.com (vpn1-7-166.ams2.redhat.com [10.36.7.166]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1BDhDKb020692 for ; Wed, 11 Feb 2015 08:43:14 -0500 From: Panu Matilainen To: dev@dpdk.org Date: Wed, 11 Feb 2015 15:43:10 +0200 Message-Id: <24fdb6886ab2d889197b6822be9361b40876bf22.1423662049.git.pmatilai@redhat.com> In-Reply-To: <6ca22ee1257e34ee2b89f2fb354d6c382b8f3e29.1423644785.git.pmatilai@redhat.com> References: <6ca22ee1257e34ee2b89f2fb354d6c382b8f3e29.1423644785.git.pmatilai@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Subject: [dpdk-dev] [PATCH v2] mk: fix librte_vhost linking X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 13:43:17 -0000 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 --- mk/rte.app.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 95dbb0b..334cb25 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 -- 2.1.0