Browse Source

The posix4 library has been merged into the libc library

(cherry picked from commit 07e4dea6934f84f937e904ef195666011e269473)
Dragon-Baroque 4 months ago
parent
commit
464cb0ab6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/sdlchecks.cmake

+ 1 - 1
cmake/sdlchecks.cmake

@@ -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")