From bfc3adaada645a141c01449a2c8bd52a040a56b2 Mon Sep 17 00:00:00 2001 From: uau Date: Fri, 11 Apr 2008 23:06:30 +0000 Subject: 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 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 \ -- cgit v1.2.3