commit:     cc389de277b47284868470abf7539e7fdf04c80d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 21 16:22:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 16:22:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc389de2

dev-libs/glib: forward-port LD_LIBRARY_PATH fix to 2.82.4-r1 too

Bug: https://bugs.gentoo.org/946735
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/glib/glib-2.82.4-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/glib/glib-2.82.4-r1.ebuild 
b/dev-libs/glib/glib-2.82.4-r1.ebuild
index ac8c41e59cfb..4c84301e4ef8 100644
--- a/dev-libs/glib/glib-2.82.4-r1.ebuild
+++ b/dev-libs/glib/glib-2.82.4-r1.ebuild
@@ -283,6 +283,9 @@ multilib_src_configure() {
                        export 
LD_LIBRARY_PATH="${BUILD_DIR}/${gliblib}:${LD_LIBRARY_PATH}"
                done
 
+               # Add the path to introspection libraries so that glib can call 
gir utilities
+               export 
LD_LIBRARY_PATH="${INTROSPECTION_LIB_DIR}:${LD_LIBRARY_PATH}"
+
                # Add the paths to the gobject-introspection python modules to 
python path so they can be imported
                export 
PYTHONPATH="${INTROSPECTION_LIB_DIR}/gobject-introspection:${PYTHONPATH}"
        fi

Reply via email to