dev-perl/Locale-gettext: fix final object with libintl on Solaris

Ensure we reference libintl from Prefix, so ld won't fail while using
the object.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2025-04-13 09:15:21 +02:00
parent e9d00b7c06
commit 06b98b3544

View File

@@ -31,3 +31,9 @@ PATCHES=(
"${FILESDIR}/${PN}-1.70.0-tests.patch"
"${FILESDIR}/${PN}-1.70.0_p20181130-config-log.patch"
)
src_compile() {
# Makefile.PL cannot know we use libintl over system
[[ ${CHOST} == *-solaris* ]] && export LDLOADLIBS="-lintl"
default
}