From c9241adbf40616784e95eb9a72ed7fceb3ac5f06 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Tue, 14 Nov 2023 13:21:12 +0000 Subject: [PATCH] Fix glib to execute binaries from toolchain, thanks to @CoreELEC. --- packages/devel/glib/package.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/devel/glib/package.mk b/packages/devel/glib/package.mk index 2ae079f4b..99add3134 100644 --- a/packages/devel/glib/package.mk +++ b/packages/devel/glib/package.mk @@ -35,4 +35,6 @@ post_makeinstall_target() { rm -rf ${INSTALL}/usr/lib/glib-2.0 rm -rf ${INSTALL}/usr/lib/installed-tests rm -rf ${INSTALL}/usr/share + + sed -e "s#bindir=\${prefix}/bin#bindir=${TOOLCHAIN}/bin#" -i "${SYSROOT_PREFIX}/usr/lib/pkgconfig/"{gio,glib}-2.0.pc }