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
common/sfc_efx/base: add user mark RxQ flag
[dpdk.git]
/
drivers
/
net
/
szedata2
/
meson.build
diff --git
a/drivers/net/szedata2/meson.build
b/drivers/net/szedata2/meson.build
index
da37337
..
dd288bf
100644
(file)
--- a/
drivers/net/szedata2/meson.build
+++ b/
drivers/net/szedata2/meson.build
@@
-1,7
+1,14
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
-dep = cc.find_library('sze2', required: false)
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+
+dep = dependency('libsze2', required: false, method: 'pkg-config')
build = dep.found()
build = dep.found()
+reason = 'missing dependency, "libsze2"'
ext_deps += dep
sources = files('rte_eth_szedata2.c')
ext_deps += dep
sources = files('rte_eth_szedata2.c')