From 6ce30bb91e885f365d4fba4da66c39086b440c95 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 3 Jul 2006 23:13:25 +0000 Subject: Build font_load_ft.c only if FREETYPE is in config.mak, noticed by Jan Knutar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18892 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7bec636b85..21ceabddf2 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,6 @@ SRCS_MENCODER = mencoder.c \ divx4_vbr.c \ libvo/aclib.c \ libvo/font_load.c \ - libvo/font_load_ft.c \ libvo/osd.c \ libvo/sub.c \ parser-mecmd.c \ @@ -61,6 +60,10 @@ ifeq ($(UNRARLIB),yes) SRCS_COMMON += unrarlib.c endif +ifeq ($(FREETYPE),yes) +SRCS_MENCODER += font_load_ft.c +endif + OBJS_MENCODER = $(SRCS_MENCODER:.c=.o) OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o) -- cgit v1.2.3