diff Makefile @ 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 8579acff875e
children 79efd1a9347d
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)