[MPlayer-cvslog] r18987 - trunk/Makefile
diego
subversion at mplayerhq.hu
Mon Jul 10 00:11:53 CEST 2006
Author: diego
Date: Mon Jul 10 00:11:53 2006
New Revision: 18987
Modified:
trunk/Makefile
Log:
Simplify ASS handling second try, this time taking FreeType into account.
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Mon Jul 10 00:11:53 2006
@@ -60,10 +60,6 @@
SRCS_COMMON += unrarlib.c
endif
-ifeq ($(FREETYPE),yes)
-SRCS_MENCODER += libvo/font_load_ft.c
-endif
-
OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
@@ -82,12 +78,6 @@
VO_LIBS += $(EXTERNAL_VIDIX_LIB)
endif
-ASS_LIB =
-
-ifeq ($(CONFIG_ASS),yes)
-ASS_LIB += libass/libass.a
-endif
-
AO_LIBS = $(ARTS_LIB) \
$(ESD_LIB) \
$(JACK_LIB) \
@@ -119,13 +109,11 @@
$(W32_LIB) \
libaf/libaf.a \
libmpdemux/libmpdemux.a \
- $(ASS_LIB) \
libswscale/libswscale.a \
osdep/libosdep.a \
$(DVDREAD_LIB) \
$(DVDNAV_LIB) \
$(CODEC_LIBS) \
- $(FREETYPE_LIB) \
$(TERMCAP_LIB) \
$(CDPARANOIA_LIB) \
$(MPLAYER_NETWORK_LIB) \
@@ -263,9 +251,14 @@
endif
ifeq ($(CONFIG_ASS),yes)
COMMON_DEPS += libass/libass.a
+COMMON_LIBS += libass/libass.a
PARTS += libass
endif
-
+# FreeType needs to come after ASS to avoid link failures on MinGW
+ifeq ($(FREETYPE),yes)
+SRCS_MENCODER += libvo/font_load_ft.c
+COMMON_LIBS += $(FREETYPE_LIB)
+endif
ifeq ($(GUI),yes)
COMMON_DEPS += Gui/libgui.a
GUI_LIBS = Gui/libgui.a
More information about the MPlayer-cvslog
mailing list