From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] lib/librte_vhost: fix meson build Date: Fri, 6 Apr 2018 15:07:40 +0200 Message-ID: <3a589d1b-436b-c027-bc53-2d60c4cefb7d@redhat.com> References: <20180406124308.56987-1-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: jianjay.zhou@huawei.com, jianfeng.tan@intel.com, pawelx.wodkowski@intel.com To: Fan Zhang , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id C92291D013 for ; Fri, 6 Apr 2018 15:07:43 +0200 (CEST) In-Reply-To: <20180406124308.56987-1-roy.fan.zhang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 04/06/2018 02:43 PM, Fan Zhang wrote: > Fixes: 7834b5c82bf3 ("lib/librte_vhost: update makefile") > > This patch fixes some meson build bugs. > > Signed-off-by: Fan Zhang > --- > lib/librte_vhost/meson.build | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build > index f01ef67fc..dee154e40 100644 > --- a/lib/librte_vhost/meson.build > +++ b/lib/librte_vhost/meson.build > @@ -10,6 +10,6 @@ endif > version = 4 > allow_experimental_apis = true > sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vhost.c', 'vhost_user.c', > - 'virtio_net.c', 'virtio_crypto.c') > + 'virtio_net.c', 'vhost_crypto.c') > headers = files('rte_vhost.h', 'rte_vhost_crypto.h') > -deps += ['ethdev', 'cryptodev', 'pci'] > +deps += ['ethdev', 'cryptodev', 'pci', 'hash'] > Acked-by: Maxime Coquelin I will squash the change in patch 7834b5c82bf3 if not applied yet. As discussed on IRC, we should ideally have such dependencies only if vhost-crypto build is enabled. Thanks! Maxime