Skip to content

Commit a7ffdd5

Browse files
committed
windows build
1 parent 8f1f955 commit a7ffdd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libxtracfg/java/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ graalvmNative {
5858
if (targetos == 'darwin') {
5959
buildArgs('--native-compiler-options=-Wl,-framework,Security')
6060
}
61+
if (targetos == 'windows') {
62+
buildArgs('-H:+StaticExecutableWithDynamicLibC')
63+
}
6164
//buildArgs('-march=native')
6265
buildArgs('-O2') //TODO -O3 image is 50% larger than -O2, test -Os with JDK 23
6366
//buildArgs('--pgo') see https://www.graalvm.org/latest/reference-manual/native-image/optimizations-and-performance/PGO/

0 commit comments

Comments
 (0)