summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-21 17:20:32 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-21 17:20:32 +0000
commit84cbc3b50ce95ef1de66d724d6a4cb9f193af6eb (patch)
tree9cc2851dcf13f623960130982838edc33aaa836b
parent2f3c36c494bb9da21cec5c66582d1c20860e87ca (diff)
downloadmpv-84cbc3b50ce95ef1de66d724d6a4cb9f193af6eb.tar.bz2
mpv-84cbc3b50ce95ef1de66d724d6a4cb9f193af6eb.tar.xz
Treat fontconfig and FreeType linker flags just like any other linker flag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21144 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--Makefile5
-rwxr-xr-xconfigure4
2 files changed, 1 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index bf1d4a5456..3021baea84 100644
--- a/Makefile
+++ b/Makefile
@@ -150,11 +150,6 @@ ifeq ($(CONFIG_ASS),yes)
COMMON_LIBS += libass/libass.a
PARTS += libass
endif
-# FontConfig and FreeType need to come after ASS to avoid link failures on MinGW
-COMMON_LIBS += $(FONTCONFIG_LIB)
-ifeq ($(FREETYPE),yes)
-COMMON_LIBS += $(FREETYPE_LIB)
-endif
ifeq ($(GUI),yes)
LIBS_MPLAYER += Gui/libgui.a
PARTS += Gui
diff --git a/configure b/configure
index 85170b43b2..3b378a0f95 100755
--- a/configure
+++ b/configure
@@ -7360,11 +7360,9 @@ EXTRA_LIB = $_ld_extra \
$_ld_static \
$_ld_lm $_ld_gif \
$_ld_vorbis $_ld_theora $_xmms_lib \
- $_ld_arch
+ $_ld_arch $_ld_freetype $_ld_fontconfig
EXTRALIBS_MPLAYER = $_libs_mplayer $_ld_x11 $_ld_sock $_ld_static $_ld_gtk $_ld_glib
EXTRALIBS_MENCODER = $_libs_mencoder
-FREETYPE_LIB = $_ld_freetype
-FONTCONFIG_LIB = $_ld_fontconfig
HAVE_MLIB = $_mlib
HAVE_PTHREADS = $_pthreads