New upstream version 18.08
[deb_dpdk.git] / drivers / net / pcap / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 pcap_dep = cc.find_library('pcap', required: false)
5 if pcap_dep.found() and cc.has_header('pcap.h', dependencies: pcap_dep)
6         build = true
7 else
8         build = false
9 endif
10 sources = files('rte_eth_pcap.c')
11 ext_deps += pcap_dep
12 pkgconfig_extra_libs += '-lpcap'