]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vhost/meson.build
net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / net / vhost / meson.build
index d7930862a75e17ce2f0f2cbb675e9a390a30e929..f481a3a4b836105f9e22ef001f005aa7c39bf7da 100644 (file)
@@ -1,8 +1,12 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-build = dpdk_conf.has('RTE_LIBRTE_VHOST')
-reason = 'missing dependency, DPDK vhost library'
-sources = files('rte_eth_vhost.c')
-install_headers('rte_eth_vhost.h')
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
+
 deps += 'vhost'
+sources = files('rte_eth_vhost.c')
+headers = files('rte_eth_vhost.h')