From ab924fc1dedaaffbecad9155f7ba93eb5eda1e7d Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Wed, 26 Jan 2022 00:25:03 -0600 Subject: Add docs for JDK system dependency For whatever reason, the original PR was merged without documentation. --- docs/markdown/Dependencies.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') 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)* -- cgit v1.1