diff --git a/CMakeLists.txt b/CMakeLists.txt index a9ba538..abe7603 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -260,7 +260,7 @@ if(APPLE) "-framework AudioToolbox" ) elseif(LINUX) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread -static") target_link_libraries(sokol X11 GL m dl asound) endif()