xbps-src/common: add option to disable generic pkg-config link

closes #21728
This commit is contained in:
John 2020-05-07 19:44:59 +02:00
parent 82734d940c
commit 953f4b47a9
No known key found for this signature in database
GPG Key ID: 5FDE97AF468A09B7
1 changed files with 3 additions and 1 deletions

View File

@ -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() {