xref: /dpdk/app/dumpcap/meson.build (revision d6024c0a6757abe993012d8cffd1c512987ff2a8)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2019 Microsoft Corporation
3
4if not dpdk_conf.has('RTE_HAS_LIBPCAP')
5    build = false
6    reason = 'missing dependency, "libpcap"'
7endif
8
9if is_windows
10    build = false
11    reason = 'not supported on Windows'
12    subdir_done()
13endif
14
15ext_deps += pcap_dep
16sources = files('main.c')
17deps += ['ethdev', 'pdump', 'pcapng', 'bpf']
18