Skip to content

Commit 9fa46a8

Browse files
Dragon-BaroqueWohlstand
authored andcommitted
The posix4 library has been merged into the libc library
Backported from commit 07e4dea. Reference issue: libsdl-org#12588.
1 parent 259d498 commit 9fa46a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/sdlchecks.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ macro(CheckPTHREAD)
976976
if(CMAKE_C_COMPILER_ID MATCHES "SunPro")
977977
set(PTHREAD_LDFLAGS "-mt -lpthread")
978978
else()
979-
set(PTHREAD_LDFLAGS "-pthread -lposix4")
979+
set(PTHREAD_LDFLAGS "-pthread")
980980
endif()
981981
elseif(SYSV5)
982982
set(PTHREAD_CFLAGS "-D_REENTRANT -Kthread")

0 commit comments

Comments
 (0)