xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper.
...otherwise the envvars for cross compilation won't be set and lots of packages are broken.
This commit is contained in:
parent
1934832e35
commit
6ab69ef143
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/lib/pkgconfig"
|
|||
exec /usr/bin/pkg-config "\$@"
|
||||
_EOF
|
||||
chmod 755 ${WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
|
||||
ln -sf ${XBPS_CROSS_TRIPLET}-pkg-config ${WRAPPERDIR}/pkg-config
|
||||
}
|
||||
|
||||
hook() {
|
||||
|
|
Loading…
Reference in a new issue