X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fvhost%2Fmeson.build;h=858b79fdf580b104a161bd8a885157a536c8c507;hb=78156d38e112b33032eedfada65b0df8b047bc31;hp=9b067c35eb251147524467f6b5fa7bc4dc776b07;hpb=c49825f8956bffcd23502a4dd98b3a32d66bb975;p=dpdk.git diff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build index 9b067c35eb..858b79fdf5 100644 --- a/drivers/net/vhost/meson.build +++ b/drivers/net/vhost/meson.build @@ -1,8 +1,14 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation -build = dpdk_conf.has('RTE_LIBRTE_VHOST') -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'