Skip to content

Commit

Permalink
Disable static linking to try and use dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 5, 2024
1 parent 330185c commit 4982346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Compile to .dll
shell: msys2 {0}
run: |
g++ -Ofast -Wall -shared -std=c++20 -static -o api.dll api.cpp -lgdi32
g++ -Ofast -Wall -shared -std=c++20 -static -o gui.dll gui.cpp -lgdi32 -lcomctl32
g++ -Ofast -Wall -shared -std=c++20 -o api.dll api.cpp -lgdi32
g++ -Ofast -Wall -shared -std=c++20 -o gui.dll gui.cpp -lgdi32 -lcomctl32
ls -l api.dll
ls -l gui.dll
Expand Down

0 comments on commit 4982346

Please sign in to comment.