changeset 18887:24f323d637eb

Build font_load_ft.c only if FREETYPE is in config.mak, noticed by Jan Knutar.
author diego
date Mon, 03 Jul 2006 23:13:25 +0000
parents f877f8c4ff42
children ab29b3c4f94e
files Makefile
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Jul 03 14:52:07 2006 +0000
+++ b/Makefile	Mon Jul 03 23:13:25 2006 +0000
@@ -43,7 +43,6 @@
                 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 @@
 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)