summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-11 23:06:30 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-11 23:06:30 +0000
commitbfc3adaada645a141c01449a2c8bd52a040a56b2 (patch)
tree365593ac0294d3012a19e5ab2def1a3e2e837af5 /Makefile
parentb406dccd69dac130bc94cc651240f6860f7263fd (diff)
downloadmpv-bfc3adaada645a141c01449a2c8bd52a040a56b2.tar.bz2
mpv-bfc3adaada645a141c01449a2c8bd52a040a56b2.tar.xz
Makefile: Fix compilation on systems with dvb support
libmenu/menu_dvbin.c was added to sources if HAVE_DVBIN was defined, even if LIBMENU was not defined. This caused a compilation failure on systems with dvb support unless you ran configure with --enable-menu. Fix by making compilation of menu_dvbin conditional on both HAVE_DVBIN and LIBMENU. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26400 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 49f0b56a5f..40bb517b06 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,9 @@ SRCS_MPLAYER = mplayer.c \
input/input.c \
SRCS_MPLAYER-$(APPLE_REMOTE) += input/ar.c
+ifeq ($(LIBMENU), yes)
SRCS_MPLAYER-$(DVBIN) += libmenu/menu_dvbin.c
+endif
SRCS_MPLAYER-$(GUI_GTK) += gui/app.c \
gui/bitmap.c \
gui/cfg.c \