mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-perl/Net-SSLeay: Search for OpenSSL using ESYSROOT
EPREFIX is not sufficient when you're cross-compiling. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28270 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
c03f68eb36
commit
52b73e69eb
@@ -52,14 +52,14 @@ src_configure() {
|
||||
export NETWORK_TESTS=no
|
||||
fi
|
||||
export LIBDIR=$(get_libdir)
|
||||
use prefix && export OPENSSL_PREFIX="${EPREFIX}/usr"
|
||||
export OPENSSL_PREFIX="${ESYSROOT}/usr"
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mymake=(
|
||||
OPTIMIZE="${CFLAGS}"
|
||||
OPENSSL_PREFIX="${EPREFIX}"/usr
|
||||
OPENSSL_PREFIX="${ESYSROOT}"/usr
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user