The posix4 library has been merged into the libc library

(cherry picked from commit 07e4dea693)
This commit is contained in:
Dragon-Baroque
2025-03-19 23:39:53 +01:00
committed by Sam Lantinga
parent ac21e3ef3f
commit 464cb0ab6e

View File

@@ -823,7 +823,7 @@ macro(CheckPTHREAD)
if(CMAKE_C_COMPILER_ID MATCHES "SunPro")
set(PTHREAD_LDFLAGS "-mt -lpthread")
else()
set(PTHREAD_LDFLAGS "-pthread -lposix4")
set(PTHREAD_LDFLAGS "-pthread")
endif()
elseif(SYSV5)
set(PTHREAD_CFLAGS "-D_REENTRANT -Kthread")