diff --git a/build.gradle b/build.gradle index 8f9c52ab..7604e1cf 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,9 @@ plugins { group = "com.gluonhq" -sourceCompatibility = JavaVersion.VERSION_11 +java { + sourceCompatibility = JavaVersion.VERSION_11 +} repositories { mavenCentral() diff --git a/src/main/java/com/gluonhq/substrate/target/PosixTargetConfiguration.java b/src/main/java/com/gluonhq/substrate/target/PosixTargetConfiguration.java index a3ca65f7..b345f8e4 100644 --- a/src/main/java/com/gluonhq/substrate/target/PosixTargetConfiguration.java +++ b/src/main/java/com/gluonhq/substrate/target/PosixTargetConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2022, Gluon + * Copyright (c) 2019, 2022, 2025, Gluon * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,6 +41,11 @@ abstract class PosixTargetConfiguration extends AbstractTargetConfiguration { super(paths, configuration); } + @Override + protected Path getCLibPath() { + return super.getCLibPath().resolve("glibc"); + } + @Override void checkPlatformSpecificClibs(Path clibPath) throws IOException { Path libjvmPath = clibPath.resolve("libjvm.a");