diff options
author | Mike Hommey <mh@glandium.org> | 2012-11-19 09:55:26 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-11-25 18:23:40 (GMT) |
commit | 9906660eb7365abb54e4495407ffddb1069ef654 (patch) | |
tree | 453bf3019c2e291a9f49f2c77b4ad138e66671db /INSTALL | |
parent | a3b3386ddde8048b9d6b54c397bb93da5e806cef (diff) | |
download | jemalloc-9906660eb7365abb54e4495407ffddb1069ef654.zip jemalloc-9906660eb7365abb54e4495407ffddb1069ef654.tar.gz jemalloc-9906660eb7365abb54e4495407ffddb1069ef654.tar.bz2 |
Allow to build without exporting symbols
When statically linking jemalloc, it may be beneficial not to export its
symbols if it makes sense, which allows the compiler and the linker to do
some further optimizations.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -55,6 +55,11 @@ any of the following arguments (not a definitive list) to 'configure': jemalloc overlays the default malloc zone, but makes no attempt to actually replace the "malloc", "calloc", etc. symbols. +--without-export + Don't export public APIs. This can be useful when building jemalloc as a + static library, or to avoid exporting public APIs when using the zone + allocator on OSX. + --with-private-namespace=<prefix> Prefix all library-private APIs with <prefix>. For shared libraries, symbol visibility mechanisms prevent these symbols from being exported, but |