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 <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas Petazzoni 2020-05-01 14:35:39 +02:00
parent 0dd30a591f
commit ada75f3dc9

View File

@ -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