File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,24 @@ jobs:
154
154
shell : bash
155
155
run : pacman -Syyu --noconfirm
156
156
157
+ - name : rebase `.dll` base addresses
158
+ if : env.ARCHITECTURE == 'i686' && !contains('msys2-runtime gnupg', env.PACKAGE_TO_BUILD)
159
+ shell : powershell
160
+ run : |
161
+ cd C:\git-sdk-32-full
162
+ if (!$?) { exit(1); }
163
+
164
+ $env:PATH += ";$(Get-Location)\usr\bin"
165
+ usr\bin\sh.exe -lc "find /usr/lib/perl5/*_perl -name \*.dll >perl-dlls.txt"
166
+ type perl-dlls.txt
167
+ usr\bin\dash /usr/bin/rebaseall -p -T perl-dlls.txt
168
+
169
+ # Work around for:
170
+ # - address space needed by 'Cwd.dll' is already occupied
171
+ # - address space needed by 'Dumper.dll' is already occupied
172
+ # etc
173
+ usr\bin\bash -lc "/usr/bin/rebase -b 0x61500000 /usr/lib/perl5/core_perl/auto/*/{*,*/*}.dll"
174
+
157
175
- name : Get GPG key(s)
158
176
shell : bash
159
177
env :
You can’t perform that action at this time.
0 commit comments