Skip to content

Commit

Permalink
dev-java/swt: add openjdk11 libjawt.so path
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/689976
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed Apr 25, 2020
1 parent 89fad95 commit f239e95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-java/swt/swt-4.10.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -96,6 +96,8 @@ src_compile() {
export AWT_LIB_PATH="${JAVA_HOME}/jre/bin"
elif [[ -f "${JAVA_HOME}/$(get_libdir)/${JAWTSO}" ]] ; then
export AWT_LIB_PATH="${JAVA_HOME}/$(get_libdir)"
elif [[ -f "${JAVA_HOME}/lib/${JAWTSO}" ]] ; then
export AWT_LIB_PATH="${JAVA_HOME}/lib"
else
eerror "${JAWTSO} not found in the JDK being used for compilation!"
die "cannot build AWT library"
Expand Down

0 comments on commit f239e95

Please sign in to comment.