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/hns3: support PF device with copper PHYs
[dpdk.git]
/
drivers
/
net
/
bnx2x
/
meson.build
diff --git
a/drivers/net/bnx2x/meson.build
b/drivers/net/bnx2x/meson.build
index
e3c6888
..
e260b75
100644
(file)
--- a/
drivers/net/bnx2x/meson.build
+++ b/
drivers/net/bnx2x/meson.build
@@
-1,8
+1,15
@@
# 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('z', required: false)
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
+
+dep = dependency('zlib', required: false, method: 'pkg-config')
build = dep.found()
build = dep.found()
+reason = 'missing dependency, "zlib"'
ext_deps += dep
cflags += '-DZLIB_CONST'
sources = files('bnx2x.c',
ext_deps += dep
cflags += '-DZLIB_CONST'
sources = files('bnx2x.c',