[Buildroot] [PATCH v10 5/6] package/pkg-autotools.mk: Add PKG_GIR_EXTRA_LIBS_PATH variable
aduskett at gmail.com
aduskett at gmail.com
Wed Feb 6 09:15:30 UTC 2019
From: Adam Duskett <Aduskett at gmail.com>
Some packages require passing an extra libs path to gobject-introspection
in order to compile their respective typelib files. This allows users to
specify a PKG_GIR_EXTRA_LIBS_PATH variable in the respective packages mk file
that will then be passed on to the g-ir-scanner, allowing those directory paths
to be indexed.
Signed-off-by: Adam Duskett <Aduskett at gmail.com>
---
Changes v1 -> v10:
- Add this patch to the series.
package/pkg-autotools.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 45de99356f..06021f95c1 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -162,6 +162,7 @@ endif
$(2)_CONF_ENV ?=
$(2)_CONF_OPTS ?=
+$(2)_GIR_EXTRA_LIBS_PATH ?=
$(2)_MAKE_ENV ?=
$(2)_MAKE_OPTS ?=
$(2)_INSTALL_OPTS ?= install
@@ -239,6 +240,8 @@ endef
endif
endif
+export GIR_EXTRA_LIBS_PATH=$$($$(PKG)_GIR_EXTRA_LIBS_PATH)
+
$(2)_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK
ifeq ($$($(2)_AUTORECONF),YES)
--
2.20.1
More information about the buildroot
mailing list