Solaris: Link against libmalloc to fix various crashes

This commit is contained in:
Guy M. Broome 2018-03-05 12:02:07 -05:00 committed by Hisham Muhammad
parent 4bd68809e4
commit 76ef3682db
1 changed files with 1 additions and 0 deletions

View File

@ -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")