From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id ABC48A0471 for ; Wed, 19 Jun 2019 17:26:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 55F251C444; Wed, 19 Jun 2019 17:16:46 +0200 (CEST) Received: from mx0.arrikto.com (mx0.arrikto.com [212.71.252.59]) by dpdk.org (Postfix) with ESMTP id DF2FF1C3A4 for ; Wed, 19 Jun 2019 17:15:47 +0200 (CEST) Received: from troi.prod.arr (mail.arr [10.99.0.5]) by mx0.arrikto.com (Postfix) with ESMTP id BE5A618201E; Wed, 19 Jun 2019 18:15:47 +0300 (EEST) Received: from localhost.localdomain (unknown [10.89.50.133]) by troi.prod.arr (Postfix) with ESMTPSA id 5D31A2B2; Wed, 19 Jun 2019 18:15:47 +0300 (EEST) From: Nikos Dragazis To: dev@dpdk.org Cc: Maxime Coquelin , Tiwei Bie , Zhihong Wang , Stefan Hajnoczi , Wei Wang , Stojaczyk Dariusz , Vangelis Koukis Date: Wed, 19 Jun 2019 18:14:51 +0300 Message-Id: <1560957293-17294-27-git-send-email-ndragazis@arrikto.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560957293-17294-1-git-send-email-ndragazis@arrikto.com> References: <1560957293-17294-1-git-send-email-ndragazis@arrikto.com> Subject: [dpdk-dev] [PATCH 26/28] mk: link apps with virtio-vhost-user driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Export the virtio-vhost-user transport to all the apps. Support using the virtio-vhost-user transport with shared libraries by unconditionally linking librte_virtio_vhost_user.so with the apps. Signed-off-by: Nikos Dragazis --- mk/rte.app.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 7c9b4b5..77e02d1 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -132,6 +132,12 @@ ifeq ($(CONFIG_RTE_EAL_VFIO),y) _LDLIBS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += -lrte_bus_fslmc endif +ifeq ($(CONFIG_RTE_LIBRTE_VHOST),y) +_LDLIBS-y += --no-as-needed +_LDLIBS-y += -lrte_virtio_vhost_user +_LDLIBS-y += --as-needed +endif + ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),n) # plugins (link only if static libraries) -- 2.7.4