gtk3: fix build error when 'glib-compile-resources' is compiled for target architecture

Solved by using 'glib-compile-resources' from host.
This commit is contained in:
Leonid Pliushch 2018-11-06 11:54:55 +02:00 committed by Yaksh Bariya
parent 36fcf8e4ac
commit 5c80c74f0b
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/glib-2.0/schemas/gschemas.compiled"
termux_step_pre_configure() {
# prevent permission denied on build scripts
find . -type f | xargs chmod u+x
# prevent build failure by using host's glib-compile-resources.
cp -f /usr/bin/glib-compile-resources "${TERMUX_PREFIX}/bin/glib-compile-resources"
}
termux_step_create_debscripts() {