summaryrefslogtreecommitdiff
path: root/package/mplayer
diff options
context:
space:
mode:
Diffstat (limited to 'package/mplayer')
-rw-r--r--package/mplayer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 60fc830d7..afb2e68d4 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -17,7 +17,6 @@ PKG_BUILDDEP+= libX11 libXv libpng libXext
PKG_URL:= http://www.mplayerhq.hu/
PKG_SITES:= http://openadk.org/distfiles/
-PKG_HOST_DEPENDS:= !darwin
PKG_TARGET_DEPENDS:= alix x86 x86_64 mips mipsel mips64 mips64el
PKG_FLAVOURS:= WITH_DIRECTFB
@@ -143,6 +142,8 @@ CONFIGURE_ARGS:= --prefix=/usr \
${CONFIGURE_DEBUG} \
${CONFIGURE_DIRECTFB}
+XAKE_FLAGS+= AR="${TARGET_CROSS}ar" RANLIB="${TARGET_CROSS}ranlib"
+
post-install:
${INSTALL_DIR} ${IDIR_MPLAYER}/usr/bin
${CP} ${WRKINST}/usr/bin/mplayer ${IDIR_MPLAYER}/usr/bin