* mingw: Use sysroot, if present, for mingw_dir.
This commit is contained in:
parent
92514fd261
commit
ac8050277c
|
@ -1,3 +1,7 @@
|
|||
2010-08-10 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||
|
||||
* mingw: Use sysroot, if present, for mingw_dir.
|
||||
|
||||
2010-07-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
|
||||
|
|
|
@ -18,7 +18,11 @@ for d in "$dir"/*-mingw32 "$dir"/usr/*-mingw32 "$dir"/*-mingw* "$dir"/usr/*-ming
|
|||
/*-mingw32 /usr/*-mingw32 /*-mingw* /usr/*-mingw*; do
|
||||
case "$d" in
|
||||
*\**) continue ;;
|
||||
*) mingw_dir=$d; break;
|
||||
*) if [ -d "$d"/sys-root/mingw ]; then
|
||||
mingw_dir=$d/sys-root/mingw
|
||||
else
|
||||
mingw_dir=$d;
|
||||
fi; break;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue