summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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