build: replace license text with SPDX tag
[dpdk.git] / drivers / net / pcap / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 pcap_dep = dependency('pcap', required: false)
5 if pcap_dep.found() == true
6         ext_deps += pcap_dep
7 elif find_program('pcap-config', required: false).found() == true
8         ext_deps += cc.find_library('pcap')
9 else
10         build = false
11 endif
12 sources = files('rte_eth_pcap.c')
13 pkgconfig_extra_libs += '-lpcap'