diff --git a/srcpkgs/faad2/template b/srcpkgs/faad2/template index a37cd413a16..63c3c43986a 100644 --- a/srcpkgs/faad2/template +++ b/srcpkgs/faad2/template @@ -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() {