From 07e4dea6934f84f937e904ef195666011e269473 Mon Sep 17 00:00:00 2001 From: Dragon-Baroque <74261498+Dragon-Baroque@users.noreply.github.com> Date: Wed, 19 Mar 2025 23:39:53 +0100 Subject: [PATCH] The posix4 library has been merged into the libc library --- cmake/sdlchecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake index 7d516f8b04..c3b310a967 100644 --- a/cmake/sdlchecks.cmake +++ b/cmake/sdlchecks.cmake @@ -835,7 +835,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")