From a37b214c434d92dd7be3ddd69ca3c669c954c3a9 Mon Sep 17 00:00:00 2001 From: Henry Margies Date: Wed, 9 Jul 2014 11:38:59 +0100 Subject: 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 Signed-off-by: Thomas Petazzoni --- package/python3/python3.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'package/python3/python3.mk') diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 98fc31b6f8..1591ac9154 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -96,6 +96,7 @@ PYTHON3_CONF_ENV += \ ac_cv_have_long_long_format=yes \ ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptc=yes \ + ac_cv_working_tzset=yes PYTHON3_CONF_OPT += \ --without-ensurepip \ -- cgit v1.2.3