Skip to content

Commit

Permalink
De-hardcode natives build process Part 5
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed May 28, 2024
1 parent ea26eb7 commit 482c08c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_or_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
packages: gcc-multilib
extra_java: 11
vendor: zulu
args: -Dtarget.java.home="$JAVA_HOME_11_I386"
args: -Dtarget.java.home="$JAVA_HOME_11_I386" -Dtarget.arch=i386
- os: ubuntu-20.04
arch: amd64
java_arch: x64
Expand Down
4 changes: 2 additions & 2 deletions gradle/macosx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ tasks.register("macosx_natives_link", Exec) {
dependsOn "macosx_natives_symbols"

def jdk_lib = "${javavmroot}/Libraries"
if (file("${java_home}/lib/libjawt.dylib").exists()) {
jdk_lib = "${java_home}/lib"
if (file("${javavmroot}/jre/lib/libjawt.dylib").exists()) {
jdk_lib = "${javavmroot}/jre/lib"
}

workingDir(workdirX)
Expand Down

0 comments on commit 482c08c

Please sign in to comment.