diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-11 23:06:30 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-11 23:06:30 +0000 |
commit | bfc3adaada645a141c01449a2c8bd52a040a56b2 (patch) | |
tree | 365593ac0294d3012a19e5ab2def1a3e2e837af5 /Makefile | |
parent | b406dccd69dac130bc94cc651240f6860f7263fd (diff) | |
download | mpv-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-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 \ |