xbps-src/common: add option to disable generic pkg-config link
closes #21728
This commit is contained in:
parent
82734d940c
commit
953f4b47a9
|
@ -92,7 +92,9 @@ export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR
|
||||||
exec /usr/bin/pkg-config "\$@"
|
exec /usr/bin/pkg-config "\$@"
|
||||||
_EOF
|
_EOF
|
||||||
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
|
chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config
|
||||||
|
if [ -z "$no_generic_pkgconfig_link" ]; then
|
||||||
ln -sf ${XBPS_CROSS_TRIPLET}-pkg-config ${XBPS_WRAPPERDIR}/pkg-config
|
ln -sf ${XBPS_CROSS_TRIPLET}-pkg-config ${XBPS_WRAPPERDIR}/pkg-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
vapigen_wrapper() {
|
vapigen_wrapper() {
|
||||||
|
|
Loading…
Reference in New Issue