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 8787 working-directory : ssr
8888 run : |
8989 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
9990 - name : make nsis
10091 working-directory : ssr
10192 run : |
Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ if ENABLE_WINDOWS_INSTALLER
1010
1111# this is done after installing the executables
1212install-exec-hook :
13+ # # the line starting with "ldd" was adapted from
14+ # # https://github.com/msys2/MINGW-packages/issues/5204#issuecomment-1013818547
1315 for exec in $(SSR_executables); do \
1416 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 \
1518 done
19+ # # those are copied by windeployqt, but they are not needed:
1620 $(RM) -r $(DESTDIR)$(bindir)/styles
1721 $(RM) -r $(DESTDIR)$(bindir)/imageformats
1822
You can’t perform that action at this time.
0 commit comments