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
|
@ -77,6 +77,7 @@ export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/lib/pkgconfig"
|
||||||
exec /usr/bin/pkg-config "\$@"
|
exec /usr/bin/pkg-config "\$@"
|
||||||
_EOF
|
_EOF
|
||||||
chmod 755 ${WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
|
chmod 755 ${WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
|
||||||
|
ln -sf ${XBPS_CROSS_TRIPLET}-pkg-config ${WRAPPERDIR}/pkg-config
|
||||||
}
|
}
|
||||||
|
|
||||||
hook() {
|
hook() {
|
||||||
|
|
Loading…
Reference in New Issue