diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-04-25 02:34:55 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-04-25 02:35:17 -0700 |
commit | f239e95ecddb44dc379f9c12be10b0a36e2dd0c1 (patch) | |
tree | f1721d2e5177404b9dc366586db42e437e621642 /dev-java | |
parent | net-p2p/qbittorrent: Version bump (v4.2.5) (diff) | |
download | gentoo-f239e95ecddb44dc379f9c12be10b0a36e2dd0c1.tar.gz gentoo-f239e95ecddb44dc379f9c12be10b0a36e2dd0c1.tar.bz2 gentoo-f239e95ecddb44dc379f9c12be10b0a36e2dd0c1.zip |
dev-java/swt: add openjdk11 libjawt.so path
Closes: https://bugs.gentoo.org/689976
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/swt/swt-4.10.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-java/swt/swt-4.10.ebuild b/dev-java/swt/swt-4.10.ebuild index f7fa9be7233a..4559e6bb888c 100644 --- a/dev-java/swt/swt-4.10.ebuild +++ b/dev-java/swt/swt-4.10.ebuild @@ -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 @@ -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" |