lib/librte_vhost: fix meson build
PATCH 1/1 lib/librte_vhost: fix meson build
Fixes 7834b5c82bf3 ("lib/librte_vhost: update makefile")
This patch fixes some meson build bugs.
Signed-off-by Fan Zhang <[email protected]>
--- lib/librte_vhost/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_vhost/meson.build +2 -2
@@ -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']
Signature · 1 line
2.13.6
Quoted 15 lines · Fan Zhang
Fixes 7834b5c82bf3 ("lib/librte_vhost: update makefile")This patch fixes some meson build bugs.
Signed-off-by Fan Zhang <[email protected]>--- lib/librte_vhost/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)lib/librte_vhost/meson.build +0
-0
lib/librte_vhost/meson.build endif · line 15
Quoted 8 lines
lib/librte_vhost/meson.build +2
-2@@ -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 <[email protected]>
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
Quoted 15 lines · Fan Zhang
Fixes 7834b5c82bf3 ("lib/librte_vhost: update makefile")This patch fixes some meson build bugs.
Signed-off-by Fan Zhang <[email protected]>--- lib/librte_vhost/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)lib/librte_vhost/meson.build +0
-0
lib/librte_vhost/meson.build endif · line 15
Quoted 8 lines
lib/librte_vhost/meson.build +2
-2@@ -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']
Squashed into offending commit!
Thanks,
Maxime