summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2023-05-24 12:25:29 +0200
committerFabian Groffen <grobian@gentoo.org>2023-05-24 12:25:38 +0200
commit7b832e510093e97af3fada11e850725a93395244 (patch)
tree4e8f54ecf70bb55eaa898f47c8f2578e196bc7c8 /dev-libs
parentnet-print/cups-filters: Stabilize 1.28.17-r2 arm, #907063 (diff)
downloadgentoo-7b832e510093e97af3fada11e850725a93395244.tar.gz
gentoo-7b832e510093e97af3fada11e850725a93395244.tar.bz2
gentoo-7b832e510093e97af3fada11e850725a93395244.zip
dev-libs/libxml2-2.11.4: fix compilation on Solaris
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libxml2/libxml2-2.11.4.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/libxml2/libxml2-2.11.4.ebuild b/dev-libs/libxml2/libxml2-2.11.4.ebuild
index 9677dea2230e..3e218fa86b8a 100644
--- a/dev-libs/libxml2/libxml2-2.11.4.ebuild
+++ b/dev-libs/libxml2/libxml2-2.11.4.ebuild
@@ -101,6 +101,10 @@ multilib_src_configure() {
# Filter seemingly problematic CFLAGS (bug #26320)
filter-flags -fprefetch-loop-arrays -funroll-loops
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ append-libs iconv
+ fi
+
# Notes:
# The meaning of the 'debug' USE flag does not apply to the --with-debug
# switch (enabling the libxml2 debug module). See bug #100898.