python, python3: build with tzset support
authorHenry Margies <henry.margies@gmail.com>
Wed, 9 Jul 2014 10:38:59 +0000 (11:38 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Jul 2014 18:39:09 +0000 (20:39 +0200)
commita37b214c434d92dd7be3ddd69ca3c669c954c3a9
tree04c81e4903f00fd84fc30c2704a5eb7a0dab8976
parent9aaf13c91c16b520ac8a4c4d1f94296f56ee13f8
python, python3: build with tzset support

This patch adds support for time.tzset() in Python 2.7 and Python 3.

The Python configure script sets ac_cv_working_tzset to 'no' when
cross compiling, although it should be available and work with all
toolchains supported by Buildroot (?).
The patch below pre-sets the variable so that time.tzset() works.

[Thomas: adjust commit log.]

Signed-off-by: Henry Margies <henry.margies@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python/python.mk
package/python3/python3.mk