void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

98-fixup-gir-path.sh (325B)


      1# This hook fixes the wrong install path of 'gir' files
      2# when cross building packages. It's a workaround and
      3# not a proper fix. Remove it once the root cause of the
      4# problem is fixed.
      5
      6hook() {
      7	[ -z "$CROSS_BUILD" ] && return
      8	vmkdir usr/${XBPS_CROSS_TRIPLET}
      9	ln -sf ".." "${PKGDESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr"
     10}