diff options
author | Tristan Partin <tristan@partin.io> | 2022-01-26 00:25:03 -0600 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-01-26 15:28:35 +0200 |
commit | ab924fc1dedaaffbecad9155f7ba93eb5eda1e7d (patch) | |
tree | 073bcb3fab2760779e4243c612a386dd4405398d | |
parent | 5c92555c40db74d48674d8a22d5e1c3171500910 (diff) | |
download | meson-ab924fc1dedaaffbecad9155f7ba93eb5eda1e7d.zip meson-ab924fc1dedaaffbecad9155f7ba93eb5eda1e7d.tar.gz meson-ab924fc1dedaaffbecad9155f7ba93eb5eda1e7d.tar.bz2 |
Add docs for JDK system dependency
For whatever reason, the original PR was merged without documentation.
-rw-r--r-- | docs/markdown/Dependencies.md | 14 |
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)* |