mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-26 13:17:47 +00:00
build: Set PTHREAD_LIBS for pkgconfig files if empty
This commit is contained in:
parent
00d80b3a6f
commit
dd4fde8f67
@ -509,6 +509,10 @@ AC_CHECK_DECLS([signbit],[],
|
||||
|
||||
dnl Check for pthreads
|
||||
AX_PTHREAD
|
||||
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.
|
||||
AC_ARG_ENABLE([selinux],
|
||||
|
Loading…
x
Reference in New Issue
Block a user