mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-23 06:51:04 +01:00
11 lines
325 B
Bash
11 lines
325 B
Bash
|
# This hook fixes the wrong install path of 'gir' files
|
||
|
# when cross building packages. It's a workaround and
|
||
|
# not a proper fix. Remove it once the root cause of the
|
||
|
# problem is fixed.
|
||
|
|
||
|
hook() {
|
||
|
[ -z "$CROSS_BUILD" ] && return
|
||
|
vmkdir usr/${XBPS_CROSS_TRIPLET}
|
||
|
ln -sf ".." "${PKGDESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr"
|
||
|
}
|