diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-11-14 12:35:46 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-11-14 15:11:27 +0100 |
commit | 725274b578ca59a164f7837fcc546e4559ad7286 (patch) | |
tree | b7e10b5b7598a93f4b87a5248cdf283777714a4f /eclass/java-utils-2.eclass | |
parent | dev-java/java-config: sync live (diff) | |
download | gentoo-725274b578ca59a164f7837fcc546e4559ad7286.tar.gz gentoo-725274b578ca59a164f7837fcc546e4559ad7286.tar.bz2 gentoo-725274b578ca59a164f7837fcc546e4559ad7286.zip |
java-utils-2.eclass: record LIBDIR in package.env
Bug: https://bugs.gentoo.org/917326
Closes: https://github.com/gentoo/gentoo/pull/33821
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index fd1f708b86b4..129402b256d5 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -2451,6 +2451,9 @@ java-pkg_do_write_() { echo "SLOT=\"${SLOT}\"" echo "CATEGORY=\"${CATEGORY}\"" echo "PVR=\"${PVR}\"" + # Record LIBDIR so that gjl can set java.library.path + # accordingly. Bug #917326. + echo "LIBDIR=\"$(get_libdir)\"" [[ -n "${JAVA_PKG_CLASSPATH}" ]] && echo "CLASSPATH=\"${JAVA_PKG_CLASSPATH}\"" [[ -n "${JAVA_PKG_LIBRARY}" ]] && echo "LIBRARY_PATH=\"${JAVA_PKG_LIBRARY}\"" |