mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
python: time.tzset missing
import time time.tzset() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'time' has no attribute 'tzset' enable tzset in both python versions (From OE-Core rev: e7721ee7e7942570ebab793f5870d7a021154a92) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Fix up for Thud context ie python3_3.5.6] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
371f57a1ee
commit
c9595af8ad
|
@ -61,6 +61,7 @@ CACHED_CONFIGUREVARS = "ac_cv_have_chflags=no \
|
|||
ac_cv_buggy_getaddrinfo=no \
|
||||
ac_cv_file__dev_ptmx=yes \
|
||||
ac_cv_file__dev_ptc=no \
|
||||
ac_cv_working_tzset=yes \
|
||||
"
|
||||
|
||||
TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
|
||||
|
|
|
@ -41,7 +41,7 @@ inherit autotools multilib_header python-dir pythonnative ptest
|
|||
|
||||
CONFIGUREOPTS += " --with-system-ffi "
|
||||
|
||||
EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no"
|
||||
EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes"
|
||||
|
||||
PACKAGECONFIG ??= "bdb"
|
||||
PACKAGECONFIG[bdb] = ",,db"
|
||||
|
|
Loading…
Reference in New Issue
Block a user