Browse Source

The posix4 library has been merged into the libc library

Dragon-Baroque 4 months ago
parent
commit
07e4dea693
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake/sdlchecks.cmake

+ 1 - 1
cmake/sdlchecks.cmake

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