* mingw: Add fallbacks to search for MinGW components in standard
install locations if not found in compiler's $prefix.
This commit is contained in:
parent
2d7697cad1
commit
4f2e34d821
@ -1,3 +1,8 @@
|
|||||||
|
2009-08-10 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||||
|
|
||||||
|
* mingw: Add fallbacks to search for MinGW components in standard
|
||||||
|
install locations if not found in compiler's $prefix.
|
||||||
|
|
||||||
2009-08-09 Corinna Vinschen <corinna@vinschen.de>
|
2009-08-09 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* mount.cc (do_mount): Don't exit, just return.
|
* mount.cc (do_mount): Don't exit, just return.
|
||||||
|
@ -14,7 +14,8 @@ dir=$(cd $(dirname $("$compiler" -print-prog-name=ld))/../..; pwd)
|
|||||||
#
|
#
|
||||||
[ "$dir" = '/' ] && dir=''
|
[ "$dir" = '/' ] && dir=''
|
||||||
mingw_dir=''
|
mingw_dir=''
|
||||||
for d in "$dir"/*-mingw32 "$dir"/usr/*-mingw32 "$dir"/*-mingw* "$dir"/usr/*-mingw*; do
|
for d in "$dir"/*-mingw32 "$dir"/usr/*-mingw32 "$dir"/*-mingw* "$dir"/usr/*-mingw* \
|
||||||
|
/*-mingw32 /usr/*-mingw32 /*-mingw* /usr/*-mingw*; do
|
||||||
case "$d" in
|
case "$d" in
|
||||||
*\**) continue ;;
|
*\**) continue ;;
|
||||||
*) mingw_dir=$d; break;
|
*) mingw_dir=$d; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user