[vlc-devel] [PATCH] freetype: use FONTCONFIG_CFLAGS

Steve Lhomme robux4 at ycbcr.xyz
Thu Mar 26 14:17:30 CET 2020


Otherwise we may miss the main include folder (at least on my system).
---
 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 948fb9cbf08..00f3fafc767 100644
--- a/modules/text_renderer/Makefile.am
+++ b/modules/text_renderer/Makefile.am
@@ -26,7 +26,7 @@ libfreetype_plugin_la_LINK = $(LINK)
 endif
 if HAVE_FONTCONFIG
 libfreetype_plugin_la_SOURCES += text_renderer/freetype/fonts/fontconfig.c
-libfreetype_plugin_la_CPPFLAGS += -DHAVE_FONTCONFIG
+libfreetype_plugin_la_CPPFLAGS += -DHAVE_FONTCONFIG $(FONTCONFIG_CFLAGS)
 libfreetype_plugin_la_LIBADD += $(FONTCONFIG_LIBS)
 endif
 if HAVE_ANDROID
-- 
2.17.1



More information about the vlc-devel mailing list