X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fvhost%2Fmeson.build;h=858b79fdf580b104a161bd8a885157a536c8c507;hb=d99088431ea5d6bb568c5cb5542688453084dcc6;hp=a8f77e1abf25b39c6edc5eac0ad4fc4812565cdd;hpb=5936aa3a39b9be317622af808834ad85d26e86f6;p=dpdk.git diff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build index a8f77e1abf..858b79fdf5 100644 --- a/drivers/net/vhost/meson.build +++ b/drivers/net/vhost/meson.build @@ -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'