Do not mark malloc_conf as weak on Windows.
This works around malloc_conf not being properly initialized by at least the cygwin toolchain. Prior build system changes to use -Wl,--[no-]whole-archive may be necessary for malloc_conf resolution to work properly as a non-weak symbol (not tested).
This commit is contained in:
parent
6ec2d8e279
commit
1dcd0aa07f
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/* Runtime configuration options. */
|
/* Runtime configuration options. */
|
||||||
const char *je_malloc_conf
|
const char *je_malloc_conf
|
||||||
#ifndef JEMALLOC_JET
|
#ifndef _WIN32
|
||||||
JEMALLOC_ATTR(weak)
|
JEMALLOC_ATTR(weak)
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user