git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/cxgbe: fix build with optimization=1
[dpdk.git]
/
lib
/
port
/
meson.build
diff --git
a/lib/port/meson.build
b/lib/port/meson.build
index
289bc47
..
3ab37e2
100644
(file)
--- a/
lib/port/meson.build
+++ b/
lib/port/meson.build
@@
-1,6
+1,12
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+
sources = files(
'rte_port_ethdev.c',
'rte_port_fd.c',
sources = files(
'rte_port_ethdev.c',
'rte_port_fd.c',
@@
-35,7
+41,8
@@
headers = files(
)
deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
)
deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
-if dpdk_conf.has('RTE_PORT_PCAP')
+if dpdk_conf.has('RTE_HAS_LIBPCAP')
+ dpdk_conf.set('RTE_PORT_PCAP', 1)
ext_deps += pcap_dep # dependency provided in config/meson.build
endif
ext_deps += pcap_dep # dependency provided in config/meson.build
endif