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