Skip to content

Commit

Permalink
Win32: do not build GDI for text_renderers in WinRT
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Nov 21, 2014
1 parent e3fab4b commit 3e74244
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ case "${host_os}" in
LDFLAGS="${LDFLAGS} -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase"

VLC_ADD_LDFLAGS([vlc],[-mwindows])
VLC_ADD_LIBS([win32text],[-lgdi32])
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
ac_default_prefix="`pwd`/_win32"
DESTDIR="`pwd`/_win32/"
Expand Down Expand Up @@ -512,6 +511,7 @@ AS_IF([test "${SYS}" = "mingw32"],[
vlc_winstore_app=1
VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
],[
VLC_ADD_LIBS([win32text],[-lgdi32])
VLC_ADD_LIBS([libvlccore],[-lwinmm])
])
])
Expand Down Expand Up @@ -3309,7 +3309,9 @@ if test "${enable_freetype}" != "no"; then
],[AC_MSG_WARN([library fontconfig not found. Styles will be disabled in freetype])])
fi
else
VLC_ADD_LIBS([freetype],[-lgdi32])
AS_IF([test "$vlc_winstore_app" != "1"],[
VLC_ADD_LIBS([freetype],[-lgdi32])
])
fi
dnl fribidi support
Expand Down

0 comments on commit 3e74244

Please sign in to comment.