diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk index 106c52c487..5ebc4a2de3 100644 --- a/package/libraw/libraw.mk +++ b/package/libraw/libraw.mk @@ -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))