Skip to content

Commit

Permalink
Add -lgdi32 to linker
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 3, 2024
1 parent 96c8d17 commit e0721f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Compile to .dll
shell: msys2 {0}
run: |
g++ -Ofast -Wall -shared -std=c++20 -static -o api.dll api.cpp
g++ -Ofast -Wall -shared -std=c++20 -static -o api.dll api.cpp -lgdi32
ls -l api.dll
- name: Commit and push .dll file
Expand Down

0 comments on commit e0721f6

Please sign in to comment.