From 515468346a77e8ef75c30b98047009fa5c16651b Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 11 Jan 2017 11:07:22 +0200 Subject: [PATCH] Revert "python: don't use libressl for host build" This reverts commit ca800e60b040a2b409801560dc16dbcac6cba2b1. --- lang/python/Makefile | 2 +- ...12-disable-openssl-for-hashlib-on-host-build.patch | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch diff --git a/lang/python/Makefile b/lang/python/Makefile index b0d4330db2..ae9a2146eb 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -12,7 +12,7 @@ include ./files/python-version.mk PKG_NAME:=python PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) -PKG_RELEASE:=2 +PKG_RELEASE:=1 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION) diff --git a/lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch b/lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch deleted file mode 100644 index 1a442e0f83..0000000000 --- a/lang/python/patches/012-disable-openssl-for-hashlib-on-host-build.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -859,7 +859,7 @@ class PyBuildExt(build_ext): - - min_openssl_ver = 0x00907000 - have_any_openssl = ssl_incs is not None and ssl_libs is not None -- have_usable_openssl = (have_any_openssl and -+ have_usable_openssl = cross_compiling and (have_any_openssl and - openssl_ver >= min_openssl_ver) - - if have_any_openssl: -- 2.30.2