From 47ef472e77613aec4525c7d75ae7bd66587fdcc9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 20 May 2015 08:03:57 +0200 Subject: [PATCH] whois: unbreak musl build (take 3). --- srcpkgs/whois/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/whois/template b/srcpkgs/whois/template index 680e3680f95..45f8d00b390 100644 --- a/srcpkgs/whois/template +++ b/srcpkgs/whois/template @@ -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