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