X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fvhost%2Fmeson.build;h=858b79fdf580b104a161bd8a885157a536c8c507;hb=9fda31c3229ca6e036cae80392578ed6e5a51119;hp=d7930862a75e17ce2f0f2cbb675e9a390a30e929;hpb=fbaf94388763eecf5ceecb691401b124970566a7;p=dpdk.git diff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build index d7930862a7..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') +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'