Only make the prefixless widl symlink after compiling widl

When building in msys2, symlinks are plain copies, and one can't
make the symlink in advance.
This commit is contained in:
Martin Storsjö committed 2019-06-21 22:52:34 +03:00
1 parent 7edc154d50
commit f80d067176
2 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ if [ -n "$EXEEXT" ]; then
if [ -z "$HOST" ]; then
HOST=$(./clang-$CLANG_MAJOR -dumpmachine | sed 's/-.*//')-w64-mingw32
fi
for exec in clang clang++ gcc g++ cc c99 c11 c++ ar ranlib nm objcopy strings strip widl windres; do
for exec in clang clang++ gcc g++ cc c99 c11 c++ ar ranlib nm objcopy strings strip windres; do
ln -sf $HOST-$exec$EXEEXT $exec$EXEEXT
done
for exec in ld objdump dlltool; do