Commit 640f7e70 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Temporary Hack to fix compile on Win32.

parent 0e2021e9
......@@ -3782,6 +3782,9 @@ AS_IF( [test "${enable_libass}" = "yes"], [
AC_CHECK_HEADERS(fontconfig/fontconfig.h,
[VLC_ADD_CPPFLAGS([libass],[-DHAVE_FONTCONFIG])
VLC_ADD_LIBS([libass],[-lfontconfig])])
if test "${SYS}" = "mingw32"; then
VLC_ADD_LIBS([libass],[-lfontconfig -lfreetype -liconv -lxml2])
fi
],[
AC_MSG_WARN([LIBASS library not found])
])
......@@ -4159,6 +4162,9 @@ then
if test "${SYS}" = "mingw32"; then
VLC_ADD_LIBS([freetype skins2],[-lxml2])
fi
if test "${SYS}" = "mingw32"; then
VLC_ADD_LIBS([freetype],[-liconv])
fi
AC_CHECK_HEADERS(fontconfig/fontconfig.h,
[VLC_ADD_CPPFLAGS([freetype],[-DHAVE_FONTCONFIG])
VLC_ADD_LIBS([freetype],[-lfontconfig])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment