faad2: unbreak musl builds.

This commit is contained in:
Juan RP 2017-07-16 08:55:21 +02:00
parent 5df055f987
commit f9e1895f8c
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ distfiles="${SOURCEFORGE_SITE}/faac/$pkgname-$version.tar.bz2"
checksum=4167727d69f7c8d8e4e87ceec3c9eb0a4e5e1a5187e96ab66b2b7250b871cd9e
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) export CFLAGS+=" -D__GNU_LIBRARY__";;
esac
./bootstrap
}
post_install() {