numam-dpdk/drivers/net/mvpp2/meson.build
Bruce Richardson 7be7dc6dea build: force pkg-config for dependency detection
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>
2021-01-26 00:43:59 +01:00

30 lines
545 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Marvell International Ltd.
# Copyright(c) 2018 Semihalf.
# All rights reserved.
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
dep = dependency('libmusdk', required: false, method: 'pkg-config')
if not dep.found()
build = false
reason = 'missing dependency, "libmusdk"'
subdir_done()
endif
ext_deps += dep
sources = files(
'mrvl_ethdev.c',
'mrvl_flow.c',
'mrvl_qos.c',
'mrvl_mtr.c',
'mrvl_tm.c'
)
deps += ['cfgfile', 'common_mvep']