Skip to content

Commit

Permalink
Add support for building with 32-bit Windows JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Jul 26, 2024
1 parent 5c78e2e commit 33824c3
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions src/qz/build/jlink/Vendor.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,28 @@ public String getUrlArch(Arch arch) {
default:
return "arm";
}
case RISCV64:
return "riscv64";
case X86:
switch(this) {
case AZUL:
return "i686";
case BELLSOFT:
return "i586";
case ECLIPSE:
case IBM:
return "x86-32";
case AMAZON:
default:
return "x86";
}
case X86_64:
default:
switch(this) {
// BellSoft uses "amd64"
case BELLSOFT:
return "amd64";
}
case RISCV64:
return "riscv64";
default:
return "x64";
}
}
Expand Down

0 comments on commit 33824c3

Please sign in to comment.