summaryrefslogtreecommitdiff
path: root/package/faad2
diff options
context:
space:
mode:
Diffstat (limited to 'package/faad2')
-rw-r--r--package/faad2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/faad2/Makefile b/package/faad2/Makefile
index 53ef6196a..87a5f8e81 100644
--- a/package/faad2/Makefile
+++ b/package/faad2/Makefile
@@ -18,8 +18,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+# check for lrintf fails on Darwin, don't know why
+CONFIGURE_ENV+= ac_cv_c99_lrintf=yes
CONFIGURE_ARGS+= --without-mpeg4ip \
--without-xmms
+TLDFLAGS+= -lm
post-install:
${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib