whois: unbreak musl build (take 3).
This commit is contained in:
parent
64f9502f46
commit
47ef472e77
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue