blob: eeb27f9eb52d68248f8d591f7de818d91e1b02e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.so of mimalloc will be libmimalloc-secure.so if build with
"-DMI_SECURE=ON" (USE="hardended" in Gentoo).
diff --git a/configure.ac b/configure.ac
index c647b5c..e2b1f55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,7 +225,7 @@ AC_SEARCH_LIBS([openpty], [util])
AC_SEARCH_LIBS([dlopen], [dl])
AC_SEARCH_LIBS([shl_load], [dld])
# Checks for optional libraries
-AC_SEARCH_LIBS([mi_malloc], [mimalloc])
+AC_SEARCH_LIBS([mi_malloc], [mimalloc mimalloc-secure])
# Add BeOS libraries
if test "x${host_os}" = "xbeos"; then
|