Build windows standard libs as static

This commit is contained in:
2026-05-05 14:45:13 -05:00
parent 7a368fa86b
commit 1e1f2603c1
+2
View File
@@ -18,6 +18,8 @@ set(TOOL_SOURCES
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
list(REMOVE_ITEM TOOL_SOURCES tools/shell_tool.cpp)
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc -static-libstdc++")
endif()
add_library(drharness_lib