From 1d95ad6100036debde5670262ececac336b5f252 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 11 Feb 2024 19:38:13 +0100 Subject: [PATCH] package/opencv4: replace PKG_PYTHON_DISTUTILS_ENV Replace PKG_PYTHON_DISTUTILS_ENV by PKG_PYTHON_SETUPTOOLS_ENV to avoid an issue with naming of python modules since commit 09de823cbc7bd50a40e25f4166b4e42be94b0c7b Fixes: 09de823cbc7bd50a40e25f4166b4e42be94b0c7b Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/opencv4/opencv4.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/opencv4/opencv4.mk b/package/opencv4/opencv4.mk index b535761cb2..e50e0f99a9 100644 --- a/package/opencv4/opencv4.mk +++ b/package/opencv4/opencv4.mk @@ -410,7 +410,7 @@ OPENCV4_CONF_OPTS += \ -DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION) OPENCV4_DEPENDENCIES += python3 OPENCV4_KEEP_PY_FILES += usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/cv2/config*.py -OPENCV4_CONF_ENV += $(PKG_PYTHON_DISTUTILS_ENV) +OPENCV4_CONF_ENV += $(PKG_PYTHON_SETUPTOOLS_ENV) OPENCV4_DEPENDENCIES += python-numpy else OPENCV4_CONF_OPTS += \