Skip to content

Commit d63b337

Browse files
Dragon-Baroquesezero
authored andcommitted
The posix4 library has been merged into the libc library
Backported from commit 07e4dea. Reference issue: #12588.
1 parent 52146cf commit d63b337

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
@@ -966,7 +966,7 @@ macro(CheckPTHREAD)
966966
if(CMAKE_C_COMPILER_ID MATCHES "SunPro")
967967
set(PTHREAD_LDFLAGS "-mt -lpthread")
968968
else()
969-
set(PTHREAD_LDFLAGS "-pthread -lposix4")
969+
set(PTHREAD_LDFLAGS "-pthread")
970970
endif()
971971
elseif(SYSV5)
972972
set(PTHREAD_CFLAGS "-D_REENTRANT -Kthread")

0 commit comments

Comments
 (0)