From 3f7622a302bddc865745ccf2724e0525febcdff9 Mon Sep 17 00:00:00 2001 From: "Guy M. Broome" Date: Mon, 5 Mar 2018 12:02:07 -0500 Subject: [PATCH] Solaris: Link against libmalloc to fix various crashes --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index a5b9e2b1..2c454802 100644 --- a/configure.ac +++ b/configure.ac @@ -243,6 +243,7 @@ fi if test "$my_htop_platform" = "solaris"; then AC_CHECK_LIB([kstat], [kstat_open], [], [missing_libraries="$missing_libraries libkstat"]) + AC_CHECK_LIB([malloc], [free], [], [missing_libraries="$missing_libraries libmalloc"]) fi AC_ARG_ENABLE(linux_affinity, [AS_HELP_STRING([--enable-linux-affinity], [enable Linux sched_setaffinity and sched_getaffinity for affinity support, disables hwloc])], ,enable_linux_affinity="yes")