[Buildroot] [PATCH 1/1] package/python: fix building _hashlib of host-python

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 20 08:27:33 UTC 2017


Hello,

On Thu, 20 Jul 2017 16:21:51 +0800, Diankun Zhang wrote:

> According to HOST_PYTHON_CONF_OPTS defined in python.mk, --disable-hashlib
> is not specified.
> That means _hashlib should be enabled by default, right?

Well, no, not necessarily. We simply forgot to add --disable-hashlib.

Again: why do you need this? If you could answer this question it would
make the discussion a lot more productive :-)

It is very possible that there are legitimate use cases for having
the hashlib module built in the host Python interpreter. If we
understand those use cases, then we can come up with a solution. But if
you keep being silent about the *why* you need this, we won't move very
far.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list