From: Thomas Petazzoni Date: Fri, 1 May 2020 12:35:39 +0000 (+0200) Subject: package/opencv3: properly propagate Config.in comment dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ada75f3dc9a0cd56d2454b90778dbda5316b188f;p=buildroot.git package/opencv3: properly propagate Config.in comment dependencies Python support in OpenCV3 indeed requires a glibc or musl toolchain, but is only available if Python 3.x is enabled, and if we're on an architecture with Numpy support. Signed-off-by: Thomas Petazzoni --- diff --git a/package/opencv3/Config.in b/package/opencv3/Config.in index 18c390c515..f45d678d22 100644 --- a/package/opencv3/Config.in +++ b/package/opencv3/Config.in @@ -165,6 +165,8 @@ config BR2_PACKAGE_OPENCV3_LIB_PYTHON python example is installed. comment "python support needs glibc or musl" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) config BR2_PACKAGE_OPENCV3_LIB_SHAPE