Skip to content

Commit eb86790

Browse files
committed
Don't link jvm on Android
1 parent 6267c8f commit eb86790

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ let package = Package(
207207
"-L\(javaHome)/lib"
208208
],
209209
.when(platforms: [.windows])),
210-
.linkedLibrary("jvm"),
210+
.linkedLibrary(
211+
"jvm",
212+
.when(platforms: [.linux, .macOS, .windows])
213+
),
211214
]
212215
),
213216
.target(

0 commit comments

Comments
 (0)