X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fszedata2%2Fmeson.build;h=4f8f3325f6b64588b3cd334f9ae709be22153d4d;hb=76fd789cc7dddbaa2c08065b7c3ca915b5c07e7c;hp=da3733743a4e5099db7961e9f5ed80b6c5cc9c4d;hpb=508cfe6be9f1d53e94cb840fce2b333567007f11;p=dpdk.git diff --git a/drivers/net/szedata2/meson.build b/drivers/net/szedata2/meson.build index da3733743a..4f8f3325f6 100644 --- a/drivers/net/szedata2/meson.build +++ b/drivers/net/szedata2/meson.build @@ -1,7 +1,14 @@ # 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 sources = files('rte_eth_szedata2.c')