install-wrappers: Add config file symlinks for triples with vendor "pc"

This commit is contained in:
Mateusz Mikuła authored and Martin Storsjö committed 2025-11-18 14:39:16 +02:00
1 parent 466fbcb68f
commit 9e39b82907
1 file changed
+2
+2
View File
@@ -126,6 +126,8 @@ cp wrappers/*-wrapper.sh "$PREFIX/bin"
cp wrappers/mingw32-common.cfg $PREFIX/bin
for arch in $ARCHS; do
cp wrappers/$arch-w64-windows-gnu.cfg $PREFIX/bin
# Also accept `--target=$arch-pc-windows-gnu` style arg
ln -sf $arch-w64-windows-gnu.cfg $PREFIX/bin/$arch-pc-windows-gnu.cfg
done
if [ -n "$HOST" ] && [ -n "$EXEEXT" ]; then
# TODO: If building natively on msys, pick up the default HOST value from there.