7be7dc6dea
Meson can use cmake as a fallback for detecting packages, and this can lead to picking up 64-libs for 32-bit builds. To work around this, force the use of pkg-config only for detecting libcrypto, zlib, jansson and other package dependencies. Cc: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Ruifeng Wang <ruifeng.wang@arm.com> Tested-by: Liron Himi <lironh@marvell.com> Tested-by: Lee Daly <lee.daly@intel.com> Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com> Tested-by: Martin Spinler <spinler@cesnet.cz>
15 lines
349 B
Meson
15 lines
349 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
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')
|