Make --without-export actually work

9906660 added a --without-export configure option to avoid exporting
jemalloc symbols, but the option didn't actually work.
This commit is contained in:
Mike Hommey
2015-03-04 21:48:01 +09:00
parent 970fcfbca5
commit 7c46fd59cc
2 changed files with 15 additions and 5 deletions

View File

@@ -232,4 +232,10 @@
/* Adaptive mutex support in pthreads. */
#undef JEMALLOC_HAVE_PTHREAD_MUTEX_ADAPTIVE_NP
/*
* If defined, jemalloc symbols are not exported (doesn't work when
* JEMALLOC_PREFIX is not defined).
*/
#undef JEMALLOC_EXPORT
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */