mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 16:24:17 -09:00
package/zxing-cpp: drop support for Python bindings
Since the bump of zxing-cpp to version 2.3.0 in Buildroot commitfb032bd34a("package/zxing-cpp: bump to version 2.3.0"), the build of the Python bindings has been broken. We tried to figure things out, but couldn't, and nobody bothered fixing this since February 2025, so let's drop support for the Python bindings for the time being. Fixes: https://autobuild.buildroot.net/results/93ffa69b9f92f142c65169f9c3a7c7ad0e733551/ Cc: Thomas Bonnefille <thomas.bonnefille@bootlin.com> Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commitf78163431c) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
463ee61b0f
commit
9ddd7fe42c
@@ -14,17 +14,8 @@ ZXING_CPP_DEPENDENCIES = host-pkgconf stb
|
||||
ZXING_CPP_CONF_OPTS = \
|
||||
-DBUILD_BLACKBOX_TESTS=OFF \
|
||||
-DBUILD_UNIT_TESTS=OFF \
|
||||
-DBUILD_DEPENDENCIES=LOCAL
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3)$(BR2_PACKAGE_PYTHON_PYBIND),yy)
|
||||
ZXING_CPP_DEPENDENCIES += python3 python-pybind
|
||||
ZXING_CPP_CONF_OPTS += \
|
||||
-DBUILD_PYTHON_MODULE=ON \
|
||||
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
|
||||
-DPYTHON_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)
|
||||
else
|
||||
ZXING_CPP_CONF_OPTS += -DBUILD_PYTHON_MODULE=OFF
|
||||
endif
|
||||
-DBUILD_DEPENDENCIES=LOCAL \
|
||||
-DBUILD_PYTHON_MODULE=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZXING_CPP_READERS),y)
|
||||
ZXING_CPP_CONF_OPTS += -DBUILD_READERS=ON
|
||||
|
||||
Reference in New Issue
Block a user