package/python: re-enable hashlib

In commit e5cfb319f9,
the committer did add the flag `--disable-hashlib` to python,
even though this was not part of the original patch
(https://patchwork.ozlabs.org/patch/1231905/).

This unexpected modification break the builds of waf-based
packages, such as jack2, mpv or aubio. This commit therefore

Fixes: http://autobuild.buildroot.net/results/2b3/2b377bcfda6e7ae4d6bb894664e3a4cb13a70b6d/
Fixes: http://autobuild.buildroot.net/results/cd5/cd5da8cb3da8479ebee60d011ce0c5dc0e59aab7/

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Titouan Christophe 2020-02-03 12:18:37 +01:00 committed by Thomas Petazzoni
parent 332d96091b
commit 1857b67687

View File

@ -60,7 +60,7 @@ HOST_PYTHON_DEPENDENCIES = host-expat host-zlib
ifeq ($(BR2_PACKAGE_HOST_PYTHON_SSL),y) ifeq ($(BR2_PACKAGE_HOST_PYTHON_SSL),y)
HOST_PYTHON_DEPENDENCIES += host-openssl HOST_PYTHON_DEPENDENCIES += host-openssl
else else
HOST_PYTHON_CONF_OPTS += --disable-ssl --disable-hashlib HOST_PYTHON_CONF_OPTS += --disable-ssl
endif endif
PYTHON_INSTALL_STAGING = YES PYTHON_INSTALL_STAGING = YES