X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnx2x%2Fmeson.build;h=e260b75926ec472a96962a6cbc78f75c320a5f54;hb=f971b7d3013d53a5d911b8c5cf51ab55946253b0;hp=e3c688869374742fe56410e180dc771457c15ae5;hpb=4d61166da4ea39dc1c6fde8e7c5acf546f787e44;p=dpdk.git diff --git a/drivers/net/bnx2x/meson.build b/drivers/net/bnx2x/meson.build index e3c6888693..e260b75926 100644 --- 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 -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() +reason = 'missing dependency, "zlib"' ext_deps += dep cflags += '-DZLIB_CONST' sources = files('bnx2x.c',