Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
LIBS=$(TARGET_NLS_LIBS)
LIBVIPS_CONF_OPTS = \
- --disable-introspection \
--without-dmalloc \
--without-gsf \
--without-magick \
host-pkgconf expat libglib2 \
$(TARGET_NLS_DEPENDENCIES)
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+LIBVIPS_CONF_OPTS += --enable-introspection
+LIBVIPS_DEPENDENCIES += gobject-introspection
+else
+LIBVIPS_CONF_OPTS += --disable-introspection
+endif
+
ifeq ($(BR2_PACKAGE_JPEG),y)
LIBVIPS_CONF_OPTS += --with-jpeg
LIBVIPS_DEPENDENCIES += jpeg