Skip to content

Commit 3a2032d

Browse files
committed
windows build
1 parent 59546da commit 3a2032d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

libxtracfg/java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ graalvmNative {
5656
if (project.hasProperty('LIB')) {
5757
imageName = "libxtracfgjni"
5858
sharedLibrary = true
59-
buildArgs("--native-compiler-path=${project.projectDir}/../c/native-image/static-compiler-${targetos}.sh")
59+
buildArgs("--native-compiler-path=${project.projectDir}/../c/native-image/static-compiler-${targetos}.${targetos == 'windows' ? 'bat' : 'sh'}")
6060
buildArgs('--native-compiler-options=-fPIC')
6161
//buildArgs('-march=native')
6262
buildArgs('-O2') //TODO -O3 image is 50% larger than -O2, test -Os with JDK 23

0 commit comments

Comments
 (0)