Commit dd4fde8f authored by Matt Turner's avatar Matt Turner

build: Set PTHREAD_LIBS for pkgconfig files if empty

parent 00d80b3a
......@@ -509,6 +509,10 @@ AC_CHECK_DECLS([signbit],[],
dnl Check for pthreads
dnl AX_PTHREADS leaves PTHREAD_LIBS empty for gcc and sets PTHREAD_CFLAGS
dnl to -pthread, which causes problems if we need -lpthread to appear in
dnl pkgconfig files.
test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread"
dnl SELinux awareness.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment