X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fport%2Fmeson.build;h=3ab37e2cb4b7b22ca2f4e15c1563f9823f87f015;hb=c6db4a15749c497d162f035130887f3fd83b7892;hp=289bc47f6e322e554d155b90ea974319cd10a8ac;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/port/meson.build b/lib/port/meson.build index 289bc47f6e..3ab37e2cb4 100644 --- a/lib/port/meson.build +++ b/lib/port/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + sources = files( 'rte_port_ethdev.c', 'rte_port_fd.c', @@ -35,7 +41,8 @@ headers = files( ) deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev'] -if dpdk_conf.has('RTE_PORT_PCAP') +if dpdk_conf.has('RTE_HAS_LIBPCAP') + dpdk_conf.set('RTE_PORT_PCAP', 1) ext_deps += pcap_dep # dependency provided in config/meson.build endif