From 6397f7aa2bc52b395e5a1eb35ba780a5ecbd73a6 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 29 Sep 2015 15:58:22 +0300 Subject: [PATCH] libbluray: add optional fontconfig dependency Fixes: http://autobuild.buildroot.net/results/dbf/dbfbf09f48e7ec09be34a3a40d3c859b74379eaf/ http://autobuild.buildroot.net/results/3fb/3fb9c077d4fe772774f53c7611b4dcbaad361312/ http://autobuild.buildroot.net/results/f9c/f9c1f3cf8bfa9eeacb7719459c22bdf7dea26ddb/ and more. Cc: Bernd Kuhls Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/libbluray/libbluray.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/libbluray/libbluray.mk b/package/libbluray/libbluray.mk index e10f7dbc8c..f6a501a108 100644 --- a/package/libbluray/libbluray.mk +++ b/package/libbluray/libbluray.mk @@ -24,6 +24,12 @@ else LIBBLURAY_CONF_OPTS += --without-freetype endif +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +LIBBLURAY_DEPENDENCIES += fontconfig +else +LIBBLURAY_CONF_OPTS += --without-fontconfig +endif + ifeq ($(BR2_PACKAGE_LIBXML2),y) LIBBLURAY_DEPENDENCIES += libxml2 else -- 2.30.2