b65d91e70acbca18d00ef9713959260407d9fa2f
[dpdk.git] / drivers / net / pcap / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 if is_windows
5         build = false
6         reason = 'not supported on Windows'
7         subdir_done()
8 endif
9
10 if not dpdk_conf.has('RTE_PORT_PCAP')
11         build = false
12         reason = 'missing dependency, "libpcap"'
13 endif
14 sources = files('rte_eth_pcap.c')
15 ext_deps += pcap_dep