We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1f955 commit a7ffdd5Copy full SHA for a7ffdd5
libxtracfg/java/build.gradle
@@ -58,6 +58,9 @@ graalvmNative {
58
if (targetos == 'darwin') {
59
buildArgs('--native-compiler-options=-Wl,-framework,Security')
60
}
61
+ if (targetos == 'windows') {
62
+ buildArgs('-H:+StaticExecutableWithDynamicLibC')
63
+ }
64
//buildArgs('-march=native')
65
buildArgs('-O2') //TODO -O3 image is 50% larger than -O2, test -Os with JDK 23
66
//buildArgs('--pgo') see https://www.graalvm.org/latest/reference-manual/native-image/optimizations-and-performance/PGO/
0 commit comments