build: replace use of old build macros
[dpdk.git] / drivers / net / vhost / meson.build
index 9b067c3..963b30f 100644 (file)
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-build = dpdk_conf.has('RTE_LIBRTE_VHOST')
-version = 2
+build = dpdk_conf.has('RTE_LIB_VHOST')
+reason = 'missing dependency, DPDK vhost library'
 sources = files('rte_eth_vhost.c')
 install_headers('rte_eth_vhost.h')
 deps += 'vhost'