X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fszedata2%2Fmeson.build;h=dd288bfac839ee9c2d7f2c7a21d4bc9e40d751f8;hb=d38b62cd6ccffd1e269dbf9942f4f60022c38040;hp=032b4251847fbb9455d2dc35bbe15a7f05a29e47;hpb=530588f3cd50d5626cfa2b94e161b97e97d84ade;p=dpdk.git diff --git a/drivers/net/szedata2/meson.build b/drivers/net/szedata2/meson.build index 032b425184..dd288bfac8 100644 --- a/drivers/net/szedata2/meson.build +++ b/drivers/net/szedata2/meson.build @@ -1,7 +1,13 @@ # 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() reason = 'missing dependency, "libsze2"' ext_deps += dep