aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcap/meson.build
blob: 0c4e0201a0faa541ff46601e3b435ccb53e1c06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation

pcap_dep = cc.find_library('pcap', required: false)
if pcap_dep.found() and cc.has_header('pcap.h', dependencies: pcap_dep)
	build = true
else
	build = false
endif
sources = files('rte_eth_pcap.c')
ext_deps += pcap_dep
pkgconfig_extra_libs += '-lpcap'