changeset 653:f231cc801094

core/gettext: make sure libintl.so is installed
author David Demelier <markand@malikania.fr>
date Mon, 29 Jul 2019 20:50:00 +0200
parents 71e6b0d31f00
children 8100a1897e9e
files core/gettext/gettext.sh
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/core/gettext/gettext.sh	Mon Jul 29 20:35:00 2019 +0200
+++ b/core/gettext/gettext.sh	Mon Jul 29 20:50:00 2019 +0200
@@ -42,16 +42,19 @@
 	LDFLAGS="$LDFLAGS" \
 	LIBS="$LIBS" \
 	./configure \
+		--with-included-gettext \
 		--prefix= \
 		--enable-shared \
-		--disable-static \
-		--enable-nls
+		--disable-static
 	make
 	make install DESTDIR=$DESTDIR
 	for i in gettextpo gettextsrc gettextlib intl asprintf; do
 		rm -f $DESTDIR/lib/lib$i.la
 	done
 
+	# Avoid conflict with musl.
+	rm -f $DESTDIR/include/libintl.h
+
 	cd ..
 	rm -rf $PKGNAME-$PKGVERSION
 }