Skip to content

Commit

Permalink
Strip .exe files
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jun 17, 2023
1 parent 7e09012 commit b4865f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ jobs:
working-directory: ssr
run: |
make
- name: make install
- name: make install-strip
working-directory: ssr
run: |
make install
make install-strip
- name: copy dependencies
working-directory: ssr/windows-installer
# See https://github.com/msys2/MINGW-packages/issues/5204#issuecomment-1013818547
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ doc:
.PHONY: doc

if ENABLE_WINDOWS_INSTALLER
nsis: install
nsis: install-strip
$(MAKE) -C data/nsis $@
else
nsis:
Expand Down
4 changes: 2 additions & 2 deletions data/nsis/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ if ENABLE_WINDOWS_INSTALLER
# this is done after installing the executables
install-exec-hook:
for exec in $(SSR_executables); do \
windeployqt --no-compiler-runtime $(DESTDIR)$(bindir)/$$exec \
; done
windeployqt --no-compiler-runtime $(DESTDIR)$(bindir)/$$exec ; \
done
$(RM) -r $(DESTDIR)$(bindir)/styles
$(RM) -r $(DESTDIR)$(bindir)/imageformats

Expand Down

0 comments on commit b4865f0

Please sign in to comment.