[Buildroot] [git commit] package/poppler: set g-ir-scanner/g-ir-compiler paths
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Sat Jul 23 12:49:24 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=c998e195e4efac923a95e36b1f274c35b9b3f66b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The g-ir-scanner/g-ir-compiler paths don't always get picked up
properly by cmake.
Fixes:
[ 98%] Linking CXX shared library libpoppler-glib.so
[ 98%] Built target poppler-glib
[ 98%] Generating Poppler-0.18.gir
/bin/sh: 1: /home/buildroot/buildroot/output/per-package/poppler/host/aarch64-buildroot-linux-gnu/sysroot/home/buildroot/buildroot/output/per-package/poppler/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/../../bin/g-ir-scanner: not found
Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
package/poppler/poppler.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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
More information about the buildroot
mailing list