package/python3: add sqlite for host build
PATCH v2 4/6 package/python3: add sqlite for host build
This is a requirement to build firefox.
Signed-off-by Waldemar Brodkorb <[email protected]>
--- package/python3/Config.in.host | 6 ++++++ package/python3/python3.mk | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
package/python3/Config.in.host +6 -0
@@ -28,4 +28,10 @@ config BR2_PACKAGE_HOST_PYTHON3_SSL help _ssl module for host Python3. +config BR2_PACKAGE_HOST_PYTHON3_SQLITE + bool "sqlite" + select BR2_PACKAGE_HOST_SQLITE + help + sqlite module for host Python3. + endif
package/python3/python3.mk +6 -1
@@ -19,7 +19,6 @@ PYTHON3_CPE_ID_PRODUCT = python HOST_PYTHON3_CONF_OPTS += \ --without-ensurepip \ --without-cxx-main \ - --disable-sqlite3 \ --disable-tk \ --with-expat=system \ --disable-test-modules \
@@ -77,6 +76,12 @@ HOST_PYTHON3_CONF_ENV += \ py_cv_module__ssl=n/a endif +ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SQLITE),y) +HOST_PYTHON3_DEPENDENCIES += host-sqlite +else +HOST_PYTHON3_CONF_OPTS += --disable-sqlite +endif + PYTHON3_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_PYTHON3_2TO3),y)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot