whois: unbreak musl build (take 3).

This commit is contained in:
Juan RP 2015-05-20 08:03:57 +02:00
parent 64f9502f46
commit 47ef472e77

View file

@ -14,9 +14,9 @@ checksum=f053ebe766f7a6f42859e6a4abd3f18741f9788aaeb1b129c3c8de95085635da
do_build() {
case "$XBPS_TARGET_MACHINE" in
*-musl) LDFLAGS+=" -lintl";;
*-musl) LIBS="-lintl";;
esac
make CC=$CC prefix=/usr HAVE_LIBIDN=1 LDFLAGS="$LDFLAGS"
make CC=$CC prefix=/usr HAVE_LIBIDN=1 LIBS="$LIBS"
}
do_install() {
make prefix=/usr BASEDIR=${DESTDIR} install-whois