We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2677ce commit 3ecdf56Copy full SHA for 3ecdf56
compiler/build.gradle
@@ -245,10 +245,12 @@ def checkArtifacts = tasks.register("checkArtifacts") {
245
if (ret.exitValue != 0) {
246
throw new GradleException("dumpbin exited with " + ret.exitValue)
247
}
248
- def dlls = os.toString() =~ /Image has the following dependencies:\s+(.*)\s+Summary/
249
- if (dlls[0][2] != "KERNEL32.dll") {
250
- throw new Exception("unexpected dll deps: " + dlls[0][1]);
+ def dlls = os.toString() =~ /Image has the following dependencies:([\S\s]*)Summary/
+ def second_dll = dlls[0][1].trim().split("\\s+")[1]
+ if (second_dll != "KERNEL32.dll") {
251
+ throw new Exception("unexpected dll deps: " + dlls[0][2]);
252
253
+
254
os.reset()
255
ret = exec {
256
executable 'dumpbin'
0 commit comments