From e77a558826f12b22d1bfd49c2ec6c84ba0c97f61 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Mon, 5 Jun 2017 18:16:58 +0200 Subject: [PATCH] package/lcdproc: add libpng optional dependency Fixes: http://autobuild.buildroot.net/results/b68/b68f54404a7d412d639ebb6d052412eea6ee3bf1 Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/lcdproc/lcdproc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/lcdproc/lcdproc.mk b/package/lcdproc/lcdproc.mk index d86eb33f45..c6476eb745 100644 --- a/package/lcdproc/lcdproc.mk +++ b/package/lcdproc/lcdproc.mk @@ -18,4 +18,11 @@ endif LCDPROC_DEPENDENCIES = freetype ncurses zlib +ifeq ($(BR2_PACKAGE_LIBPNG),y) +LCDPROC_DEPENDENCIES += libpng +LCDPROC_CONF_OPTS += --enable-libpng +else +LCDPROC_CONF_OPTS += --disable-libpng +endif + $(eval $(autotools-package)) -- 2.30.2