diff --git a/mbuni/configure.ac b/mbuni/configure.ac index 2e9649b..20061b4 100644 --- a/mbuni/configure.ac +++ b/mbuni/configure.ac @@ -69,7 +69,7 @@ case "$host" in ;; *-*-openbsd* | *-*-freebsd*) CFLAGS="$CFLAGS -pthread" - AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r -lkse"; pthread="yes"]) + AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r -lpthread"; pthread="yes"]) ;; esac