Skip to content

Commit

Permalink
MINGW/MSYS2: Package libwinpthread-1.dll with builds so the binary di…
Browse files Browse the repository at this point in the history
…stribution is now standalone

(also copy all the other depdendencies in CI mingw like we do for MSVC)
  • Loading branch information
vsonnier committed Jun 29, 2024
1 parent f5b0550 commit 7cf09be
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
set -eu
parallel="$(getconf _NPROCESSORS_ONLN)"
make -j"${parallel}" -C Quake -f ${{ matrix.platform.makefile }}
make -j"${parallel}" -C Quake -f ${{ matrix.platform.makefile }} all
- name: Upload vkQuake
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions Quake/Makefile.w32
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ vkQuake.exe: $(SHADER_OBJS) $(OBJS) $(SYSOBJ_RES)
$(call DO_STRIP,$@)

dll:
cp ../Windows/codecs/x64/*.dll .
cp ../Windows/SDL2/lib64/*.dll .
cp ../Windows/misc/x86/*.dll .
cp ../Windows/codecs/x86/*.dll .
cp ../Windows/SDL2/lib/*.dll .

release: vkQuake.exe
debug:
Expand Down
5 changes: 3 additions & 2 deletions Quake/Makefile.w64
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ vkQuake.exe: $(SHADER_OBJS) $(OBJS) $(SYSOBJ_RES)
$(call DO_STRIP,$@)

dll:
cp ../Windows/codecs/x86/*.dll .
cp ../Windows/SDL2/lib/*.dll .
cp ../Windows/misc/x64/*.dll .
cp ../Windows/codecs/x64/*.dll .
cp ../Windows/SDL2/lib64/*.dll .

release: vkQuake.exe
debug:
Expand Down
Binary file added Windows/misc/x64/libwinpthread-1.dll
Binary file not shown.
Binary file added Windows/misc/x86/libwinpthread-1.dll
Binary file not shown.

0 comments on commit 7cf09be

Please sign in to comment.