diff options
author | Tristan Partin <tristan@partin.io> | 2022-03-01 17:35:01 -0600 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-03-04 13:52:21 -0500 |
commit | 498db2764c6d8bf9c9362b77a4011d8197879460 (patch) | |
tree | dc5c2eb626d7abdba4155a3a356d84c73e4e1785 /docs/markdown/snippets | |
parent | e082f268bdfe2351bf7fc68733a1dda8e2f7ac5a (diff) | |
download | meson-498db2764c6d8bf9c9362b77a4011d8197879460.zip meson-498db2764c6d8bf9c9362b77a4011d8197879460.tar.gz meson-498db2764c6d8bf9c9362b77a4011d8197879460.tar.bz2 |
Add modules kwarg to JNI system dep
This allows someone to link against libjvm.so and libjawt.so.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/jni-system-dep-modules.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/jni-system-dep-modules.md b/docs/markdown/snippets/jni-system-dep-modules.md new file mode 100644 index 0000000..1f2c567 --- /dev/null +++ b/docs/markdown/snippets/jni-system-dep-modules.md @@ -0,0 +1,10 @@ +## JNI System Dependency Modules + +The JNI system dependency now supports a `modules` keyword argument which is a +list containing any of the following: `jvm`, `awt`. + +```meson +jni_dep = dependency('jni', version: '>= 1.8.0', modules: ['jvm', 'awt']) +``` + +This will add appropriate linker arguments to your target. |