Closed
Description
Hi.
When you use the function tzset in C/C++ and compiles files with "-s EXPORT_ALL=1", the following runtime error occurs.
ReferenceError: __get_timezone is not defined
I found it in libc-extras.a, but it seems that it is not linked.
How can I fix it?
(I use EXPORT_ALL=1 since I use EXTRA_EXPORTED_RUNTIME_METHODS option.)
My environment is,
- macOS 10.14.6
- using latest-upstream
- emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.40
- clang version 10.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-git.colasdn.top-llvm-llvm--project 10dad95a75592717d2f7c0ebc181fb8a970a8df7)
Thanks.
Metadata
Metadata
Assignees
Labels
No labels