Skip to content

Commit b4865f0

Browse files
committed
Strip .exe files
1 parent 7e09012 commit b4865f0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/windows-msys2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ jobs:
8787
working-directory: ssr
8888
run: |
8989
make
90-
- name: make install
90+
- name: make install-strip
9191
working-directory: ssr
9292
run: |
93-
make install
93+
make install-strip
9494
- name: copy dependencies
9595
working-directory: ssr/windows-installer
9696
# See https://github.com/msys2/MINGW-packages/issues/5204#issuecomment-1013818547

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ doc:
124124
.PHONY: doc
125125

126126
if ENABLE_WINDOWS_INSTALLER
127-
nsis: install
127+
nsis: install-strip
128128
$(MAKE) -C data/nsis $@
129129
else
130130
nsis:

data/nsis/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if ENABLE_WINDOWS_INSTALLER
1111
# this is done after installing the executables
1212
install-exec-hook:
1313
for exec in $(SSR_executables); do \
14-
windeployqt --no-compiler-runtime $(DESTDIR)$(bindir)/$$exec \
15-
; done
14+
windeployqt --no-compiler-runtime $(DESTDIR)$(bindir)/$$exec ; \
15+
done
1616
$(RM) -r $(DESTDIR)$(bindir)/styles
1717
$(RM) -r $(DESTDIR)$(bindir)/imageformats
1818

0 commit comments

Comments
 (0)