diff options
author | Tristan Partin <tristan@partin.io> | 2022-02-17 13:15:15 -0600 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-02-28 11:44:29 +0200 |
commit | 80cb87e7b75b2aa2a61a48d31400051813f0a46f (patch) | |
tree | a77ef2a9672048a4b6e1c0a13de625423cd6e5f8 /mesonbuild/environment.py | |
parent | e7b8059f7bd01680c29faf3a0f4538a29c4b4938 (diff) | |
download | meson-80cb87e7b75b2aa2a61a48d31400051813f0a46f.zip meson-80cb87e7b75b2aa2a61a48d31400051813f0a46f.tar.gz meson-80cb87e7b75b2aa2a61a48d31400051813f0a46f.tar.bz2 |
Change jar() default install dir
The previous install dir seemed incorrect when looking at various Linux
distributions.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 5635c8a..b2ddb44 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -814,6 +814,10 @@ class Environment: return self.get_bindir() return self.get_libdir() + def get_jar_dir(self) -> str: + """Install dir for JAR files""" + return f"{self.get_datadir()}/java" + def get_static_lib_dir(self) -> str: "Install dir for the static library" return self.get_libdir() |