mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 14:29:14 +08:00
The posix4 library has been merged into the libc library
Backported from commit07e4dea693. Reference issue: https://github.com/libsdl-org/SDL/issues/12588. (cherry picked from commitd63b3376a4)
This commit is contained in:
committed by
Ozkan Sezer
parent
9b048e73a2
commit
3f6efbf2df
@@ -966,7 +966,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")
|
||||||
|
|||||||
Reference in New Issue
Block a user