aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorFabian Meumertzheim <meumertzheim@code-intelligence.com>2021-02-26 10:22:53 +0100
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-03-24 11:53:16 +0100
commit814dd66a31bafac876fbaac71289741036c9d3bf (patch)
treebf2004fd1ff7ce125cc18c407563d0e92f4affc7 /third_party
parent5e91eae5749c3d4c3d4d698ea05ba26a1eb8059d (diff)
downloadjazzer-api-814dd66a31bafac876fbaac71289741036c9d3bf.tar.gz
Use correct path to libjvm for macOS
Diffstat (limited to 'third_party')
-rw-r--r--third_party/jni/BUILD.bazel5
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/jni/BUILD.bazel b/third_party/jni/BUILD.bazel
index cda76ef0..9709c79f 100644
--- a/third_party/jni/BUILD.bazel
+++ b/third_party/jni/BUILD.bazel
@@ -45,6 +45,9 @@ cc_import(
cc_import(
name = "libjvm",
- interface_library = "@local_jdk//:lib/server/libjvm.so",
+ interface_library = select({
+ "@platforms//os:osx": "@local_jdk//:lib/server/libjvm.dylib",
+ "//conditions:default": "@local_jdk//:lib/server/libjvm.so",
+ }),
system_provided = True,
)