summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libraw/libraw.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk
index a4ab92f04e..106c52c487 100644
--- a/package/libraw/libraw.mk
+++ b/package/libraw/libraw.mk
@@ -19,4 +19,11 @@ LIBRAW_CONF_OPTS += \
LIBRAW_LICENSE = LGPLv2.1 or CDDL 1.0 or LibRaw Software License 27032010
LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL LICENSE.LibRaw.pdf README
+ifeq ($(BR2_PACKAGE_JASPER),y)
+LIBRAW_CONF_OPTS += --enable-jasper
+LIBRAW_DEPENDENCIES += jasper
+else
+LIBRAW_CONF_OPTS += --disable-jasper
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud