Commit dfa61b58 authored by Steve Lhomme's avatar Steve Lhomme

freetype: fix linking for Winstore builds

-luuid is needed as we use IID_IUnknown

Add missing $(AM_LIBADD) messing up the order of libraries
parent 009bce07
......@@ -9,7 +9,7 @@ libfreetype_plugin_la_SOURCES = \
text_renderer/freetype/text_layout.c text_renderer/freetype/text_layout.h
libfreetype_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
libfreetype_plugin_la_LIBADD = $(LIBM)
libfreetype_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
libfreetype_plugin_la_LDFLAGS = $(FREETYPE_LDFLAGS) -rpath '$(textdir)'
if HAVE_WIN32
......@@ -19,7 +19,7 @@ if HAVE_WIN32_DESKTOP
libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/win32.c
libfreetype_plugin_la_LIBADD += -liconv -lz -lusp10 -lgdi32 -luuid
else
libfreetype_plugin_la_LIBADD += -ldwrite
libfreetype_plugin_la_LIBADD += -ldwrite -luuid
endif
else
libfreetype_plugin_la_LINK = $(LINK)
......
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