Fix glib to execute binaries from toolchain, thanks to @CoreELEC.

This commit is contained in:
fewtarius 2023-11-14 13:21:12 +00:00
parent 227e232ad5
commit c9241adbf4
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -35,4 +35,6 @@ post_makeinstall_target() {
rm -rf ${INSTALL}/usr/lib/glib-2.0 rm -rf ${INSTALL}/usr/lib/glib-2.0
rm -rf ${INSTALL}/usr/lib/installed-tests rm -rf ${INSTALL}/usr/lib/installed-tests
rm -rf ${INSTALL}/usr/share 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
} }