Skip to content

Commit

Permalink
misc: linking static SDL fails without -lpthread using gold linker
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSimek committed Jan 31, 2013
1 parent 21c10f6 commit 501d606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -108,7 +108,7 @@ if(UNIX)
set(LIB_SUFFIX "_mac")
set(CMAKE_SHARED_MODULE_SUFFIX "")
else()
set(OS_LIBRARIES dl m rt)
set(OS_LIBRARIES dl m rt pthread)
set(LIB_SUFFIX ".mp.")
endif()
if(NOT MSYS)
Expand Down

0 comments on commit 501d606

Please sign in to comment.