[vlc-devel] [PATCH 1/2] freetype: use FONTCONFIG_LIBS

Thomas Guillem thomas at gllm.fr
Thu Jun 14 17:42:12 CEST 2018


---
 modules/text_renderer/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/text_renderer/Makefile.am b/modules/text_renderer/Makefile.am
index 62ea43d2fb..948fb9cbf0 100644
--- a/modules/text_renderer/Makefile.am
+++ b/modules/text_renderer/Makefile.am
@@ -27,7 +27,7 @@ endif
 if HAVE_FONTCONFIG
 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/fontconfig.c
 libfreetype_plugin_la_CPPFLAGS += -DHAVE_FONTCONFIG
-libfreetype_plugin_la_LIBADD += -lfontconfig
+libfreetype_plugin_la_LIBADD += $(FONTCONFIG_LIBS)
 endif
 if HAVE_ANDROID
 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/android.c
-- 
2.17.1



More information about the vlc-devel mailing list