package/libraw: add optional support for jpeg

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2016-01-30 17:17:15 +01:00 committed by Peter Korsgaard
parent e712000dbe
commit 96f06290a5

View File

@ -26,4 +26,11 @@ else
LIBRAW_CONF_OPTS += --disable-jasper
endif
ifeq ($(BR2_PACKAGE_JPEG),y)
LIBRAW_CONF_OPTS += --enable-jpeg
LIBRAW_DEPENDENCIES += jpeg
else
LIBRAW_CONF_OPTS += --disable-jpeg
endif
$(eval $(autotools-package))