summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-03 23:13:25 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-03 23:13:25 +0000
commit6ce30bb91e885f365d4fba4da66c39086b440c95 (patch)
treef9e5529d1e542469ea85d1720296d4f63f24622e /Makefile
parenta205e9444cf216fa252af5f60470d3d02c50f66b (diff)
downloadmpv-6ce30bb91e885f365d4fba4da66c39086b440c95.tar.bz2
mpv-6ce30bb91e885f365d4fba4da66c39086b440c95.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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)