summaryrefslogtreecommitdiff
path: root/package/multimedia/mplayer/mplayer.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-20 09:29:50 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-20 09:29:50 +0000
commit81dc300b4dc6d345336ed2e3fc89c7f8fa205192 (patch)
treebb78b969ce36ffea5470e163369b74dde0333074 /package/multimedia/mplayer/mplayer.mk
parent999026df2b4f5decd695f6365f4ac5f80abf340d (diff)
mplayer: fix non-largefile build
Diffstat (limited to 'package/multimedia/mplayer/mplayer.mk')
-rw-r--r--package/multimedia/mplayer/mplayer.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk
index e51c7925d..719cc6754 100644
--- a/package/multimedia/mplayer/mplayer.mk
+++ b/package/multimedia/mplayer/mplayer.mk
@@ -17,6 +17,14 @@ else
MPLAYER_ENDIAN:=--disable-big-endian
endif
+# mplayer unfortunately uses --disable-largefileS, so we cannot use
+# DISABLE_LARGEFILE
+ifeq ($(BR2_LARGEFILE),y)
+MPLAYER_LARGEFILE:=--enable-largefiles
+else
+MPLAYER_LARGEFILE:=--disable-largefiles
+endif
+
$(DL_DIR)/$(MPLAYER_SOURCE):
$(call DOWNLOAD,$(MPLAYER_SITE),$(MPLAYER_SOURCE))
@@ -45,6 +53,7 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
--enable-mad \
--enable-fbdev \
$(MPLAYER_ENDIAN) \
+ $(MPLAYER_LARGEFILE) \
--enable-cross-compile \
--disable-mpdvdkit \
--disable-ivtv \