File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 87
87
working-directory : ssr
88
88
run : |
89
89
make
90
- - name : make install-strip
91
- working-directory : ssr
92
- run : |
93
- make install-strip
94
- - name : copy dependencies
95
- working-directory : ssr/windows-installer
96
- # See https://github.com/msys2/MINGW-packages/issues/5204#issuecomment-1013818547
97
- run : |
98
- ldd bin/*.exe | grep -iv system32 | grep -v :$ | cut -f2 -d\> | cut -f1 -d\( | while read a; do ! [ -e "bin/`basename $a`" ] && cp -v "$a" bin/ || true; done
99
90
- name : make nsis
100
91
working-directory : ssr
101
92
run : |
Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ if ENABLE_WINDOWS_INSTALLER
10
10
11
11
# this is done after installing the executables
12
12
install-exec-hook :
13
+ # # the line starting with "ldd" was adapted from
14
+ # # https://github.com/msys2/MINGW-packages/issues/5204#issuecomment-1013818547
13
15
for exec in $(SSR_executables); do \
14
16
windeployqt --no-compiler-runtime $(DESTDIR)$(bindir)/$$exec ; \
17
+ ldd $(DESTDIR)$(bindir)/$$exec | grep -iv system32 | cut -f2 -d\> | cut -f1 -d\( | while read a; do ! [ -e "$(DESTDIR)$(bindir)/`basename $$a`" ] && cp -v "$$a" $(DESTDIR)$(bindir)/ || true; done \
15
18
done
19
+ # # those are copied by windeployqt, but they are not needed:
16
20
$(RM) -r $(DESTDIR)$(bindir)/styles
17
21
$(RM) -r $(DESTDIR)$(bindir)/imageformats
18
22
You can’t perform that action at this time.
0 commit comments