diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk index 18c044a9f6..b54262e7c4 100644 --- a/package/poppler/poppler.mk +++ b/package/poppler/poppler.mk @@ -44,7 +44,10 @@ endif ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) POPPLER_DEPENDENCIES += gobject-introspection -POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=ON +POPPLER_CONF_OPTS += \ + -DENABLE_GOBJECT_INTROSPECTION=ON \ + -DINTROSPECTION_SCANNER=$(STAGING_DIR)/usr/bin/g-ir-scanner \ + -DINTROSPECTION_COMPILER=$(STAGING_DIR)/usr/bin/g-ir-compiler else POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=OFF endif