]> git.droids-corp.org - dpdk.git/blobdiff - app/dumpcap/meson.build
net/af_xdp: use libxdp if available
[dpdk.git] / app / dumpcap / meson.build
index ad4fc6ae60df732b11b9eb5dd5700333c463b880..69c016c780ddcb371e90b6ccff3853be999ee0ba 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2019 Microsoft Corporation
 
-if not dpdk_conf.has('RTE_PORT_PCAP')
+if not dpdk_conf.has('RTE_HAS_LIBPCAP')
     build = false
     reason = 'missing dependency, "libpcap"'
 endif
@@ -12,5 +12,6 @@ if is_windows
     subdir_done()
 endif
 
+ext_deps += pcap_dep
 sources = files('main.c')
 deps += ['ethdev', 'pdump', 'pcapng', 'bpf']