Skip to content

Commit

Permalink
Change order of dependencies in libjvm_stub target (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Meumertzheim <[email protected]>
  • Loading branch information
sfc-gh-tmarzec and fmeum authored Sep 7, 2023
1 parent d4f5304 commit 9314115
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion jni/tools/libjvm_stub/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ cc_library(
"rules_jni.h",
],
deps = [
":bazel",
# do not sort
# If users use no symbol defined in :bazel, it may be dropped by the
# linker if it doesn't come before :libjvm_stub_lib, for which it
# provides a required symbol definition.
":libjvm_stub_lib",
":bazel",
],
)

Expand All @@ -37,6 +41,10 @@ cc_library(
"rules_jni.h",
],
deps = [
# do not sort
# If users use no symbol defined in :release, it may be dropped by the
# linker if it doesn't come before :libjvm_stub_lib, for which it
# provides a required symbol definition.
":libjvm_stub_lib",
":release",
],
Expand Down

0 comments on commit 9314115

Please sign in to comment.