package/lcdproc: add libpng optional dependency

Fixes:
http://autobuild.buildroot.net/results/b68/b68f54404a7d412d639ebb6d052412eea6ee3bf1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Romain Naour 2017-06-05 18:16:58 +02:00 committed by Thomas Petazzoni
parent 4688667bc8
commit e77a558826

View File

@ -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))