aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Dependencies.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index 86084ea..0cbed5c 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -472,6 +472,20 @@ instead.
`method` may be `auto`, `builtin` or `system`.
+## JDK
+
+*(added 0.58.0)*
+
+Provides access to compiling with the Java Native Interface (JNI). Lookup is
+entirely dependent on the `target_machine` Java compiler. In a
+cross-compilation, remember to override the Java compiler in order to add the
+correct flags. The `version` keyword is compared against the version of the
+Java compiler. No other `dependency()` keywords are respected.
+
+```meson
+dep = dependency('jdk', version: '>= 1.8.0')
+```
+
## libgcrypt
*(added 0.49.0)*