Skip to content

Commit 9e39b82

Browse files
mati865mstorsjo
authored andcommitted
install-wrappers: Add config file symlinks for triples with vendor "pc"
1 parent 466fbcb commit 9e39b82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install-wrappers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ cp wrappers/*-wrapper.sh "$PREFIX/bin"
126126
cp wrappers/mingw32-common.cfg $PREFIX/bin
127127
for arch in $ARCHS; do
128128
cp wrappers/$arch-w64-windows-gnu.cfg $PREFIX/bin
129+
# Also accept `--target=$arch-pc-windows-gnu` style arg
130+
ln -sf $arch-w64-windows-gnu.cfg $PREFIX/bin/$arch-pc-windows-gnu.cfg
129131
done
130132
if [ -n "$HOST" ] && [ -n "$EXEEXT" ]; then
131133
# TODO: If building natively on msys, pick up the default HOST value from there.

0 commit comments

Comments
 (0)