]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnx2x/meson.build
net/ice: fix VLAN 0 adding based on VLAN mode
[dpdk.git] / drivers / net / bnx2x / meson.build
index 4892bb234c517d5fd4e41a45746fcaab5e7b3e13..e260b75926ec472a96962a6cbc78f75c320a5f54 100644 (file)
@@ -1,7 +1,13 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-dep = dependency('zlib', 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()
 reason = 'missing dependency, "zlib"'
 ext_deps += dep