From 725274b578ca59a164f7837fcc546e4559ad7286 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 14 Nov 2023 12:35:46 +0100 Subject: 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 --- eclass/java-utils-2.eclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eclass/java-utils-2.eclass') 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}\"" -- cgit v1.2.3-65-gdbad