[Buildroot] [PATCH v2 4/4] package/python: enable openssl support

Nicolas Carrier nicolas.carrier at orolia.com
Sun Oct 27 15:39:11 UTC 2019


If a python script is ran or used as (or in) a custom script like post
build, but requires ssl, then it will fail since it's explicitly disabled
by default.

This patch enables it unconditionnally.
Please note to, unlike for python3, the configure script doesn't have an
explicit --enable-openssl option.

Signed-off-by: Nicolas Carrier <nicolas.carrier at orolia.com>

---

Changes v1 -> v2:
  - split the two original patches in two
  - removed the ssl support option

---

Signed-off-by: Nicolas Carrier <nicolas.carrier at orolia.com>
---
 package/python/python.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/python/python.mk b/package/python/python.mk
index 4b82cdcce3..524de2a76d 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -32,7 +32,6 @@ HOST_PYTHON_CONF_OPTS += \
 	--disable-bsddb \
 	--disable-test-modules \
 	--disable-bz2 \
-	--disable-ssl \
 	--disable-ossaudiodev \
 	--disable-pyo-build
 
@@ -56,7 +55,7 @@ HOST_PYTHON_MAKE = $(MAKE1)
 
 PYTHON_DEPENDENCIES = host-python libffi $(TARGET_NLS_DEPENDENCIES)
 
-HOST_PYTHON_DEPENDENCIES = host-expat host-zlib
+HOST_PYTHON_DEPENDENCIES = host-expat host-zlib host-openssl
 
 PYTHON_INSTALL_STAGING = YES
 
-- 
2.20.1



More information about the buildroot mailing list