mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-13 21:12:56 -04:00
Fix for freebsd pthreads
This commit is contained in:
parent
46166a9135
commit
07e0490120
@ -19,7 +19,9 @@ rend_posix=true
|
||||
STATIC_LIBS=no
|
||||
CPPFLAGS="${CPPFLAGS} -g"
|
||||
|
||||
AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="$LDFLAGS -lpthread")
|
||||
dnl fix freebsd's broken (?) libpthread
|
||||
AC_CHECK_LIB(c_r,pthread_creat,LDFLAGS="${LDFLAGS} -lc_r", [
|
||||
AC_CHECK_LIB(pthread,pthread_create,LDFLAGS="${LDFLAGS} -lpthread") ])
|
||||
|
||||
AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
|
||||
CPPFLAGS="${CPPFLAGS} -Wall")
|
||||
|
Loading…
x
Reference in New Issue
Block a user