mirror of
https://github.com/arabianq/build_msp.git
synced 2026-04-28 06:21:24 +00:00
fix: static builds for windows
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user