Merge commit 'f37db957f8c5d9de53bdd58b2a95a2da0937307d' into main

This commit is contained in:
Sam Lantinga 2022-10-23 16:34:52 -07:00
commit 2d3e21ab0e
3 changed files with 3 additions and 3 deletions

View File

@ -905,7 +905,7 @@ macro(CheckPTHREAD)
set(PTHREAD_LDFLAGS "-lpthread")
elseif(OPENBSD)
set(PTHREAD_CFLAGS "-D_REENTRANT")
set(PTHREAD_LDFLAGS "-pthread")
set(PTHREAD_LDFLAGS "-lpthread")
elseif(SOLARIS)
set(PTHREAD_CFLAGS "-D_REENTRANT")
set(PTHREAD_LDFLAGS "-pthread -lposix4")

2
configure vendored
View File

@ -26778,7 +26778,7 @@ fi
;;
*-*-openbsd*)
pthread_cflags="-D_REENTRANT"
pthread_lib="-pthread"
pthread_lib="-lpthread"
;;
*-*-solaris2.9)
# From Solaris 9+, posix4's preferred name is rt.

View File

@ -3063,7 +3063,7 @@ dnl This is used on Linux for glibc binary compatibility (Doh!)
;;
*-*-openbsd*)
pthread_cflags="-D_REENTRANT"
pthread_lib="-pthread"
pthread_lib="-lpthread"
;;
*-*-solaris2.9)
# From Solaris 9+, posix4's preferred name is rt.