build: fix meson build on FreeBSD
[dpdk.git] / drivers / net / vhost / meson.build
index a8f77e1..9b067c3 100644 (file)
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
+build = dpdk_conf.has('RTE_LIBRTE_VHOST')
 version = 2
 sources = files('rte_eth_vhost.c')
 install_headers('rte_eth_vhost.h')