]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/szedata2/meson.build
net/ice: fix VSI array out of bounds access
[dpdk.git] / drivers / net / szedata2 / meson.build
index b53fcbc591f3ea5fc559a1e8f0f7bc02a515a81a..dd288bfac839ee9c2d7f2c7a21d4bc9e40d751f8 100644 (file)
@@ -1,7 +1,13 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-dep = dependency('libsze2', 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()
 reason = 'missing dependency, "libsze2"'
 ext_deps += dep
 build = dep.found()
 reason = 'missing dependency, "libsze2"'
 ext_deps += dep