fix: static builds for windows

This commit is contained in:
2026-01-10 19:40:21 +03:00
parent 325f3a35d4
commit 4923e49fe0
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ jobs:
if: startsWith(runner.os, 'Windows')
shell: msys2 {0}
run: |
cmake . -G "MinGW Makefiles"
cmake . -G "MinGW Makefiles" \
-DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++"
cmake --build .
- name: Configure and Build (Linux/macOS)
+2 -1
View File
@@ -61,7 +61,8 @@ jobs:
if: startsWith(runner.os, 'Windows')
shell: msys2 {0}
run: |
cmake . -G "MinGW Makefiles"
cmake . -G "MinGW Makefiles" \
-DCMAKE_EXE_LINKER_FLAGS="-static -static-libgcc -static-libstdc++"
cmake --build .
- name: Configure and Build (Linux/macOS)