Fix glib to execute binaries from toolchain, thanks to @CoreELEC.
This commit is contained in:
parent
227e232ad5
commit
c9241adbf4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue