From: Romain Naour Date: Mon, 5 Jun 2017 16:16:58 +0000 (+0200) Subject: package/lcdproc: add libpng optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e77a558826f12b22d1bfd49c2ec6c84ba0c97f61;p=buildroot.git package/lcdproc: add libpng optional dependency Fixes: http://autobuild.buildroot.net/results/b68/b68f54404a7d412d639ebb6d052412eea6ee3bf1 Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- 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))