crypto/dpaa_sec: support authonly and chain with raw API
[dpdk.git] / drivers / net / vhost / meson.build
index a8f77e1..858b79f 100644 (file)
@@ -1,7 +1,14 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-version = 2
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
+
+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')
+headers = files('rte_eth_vhost.h')
 deps += 'vhost'