diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2009-08-10 01:55:14 +0000 |
---|---|---|
committer | Dave Korn <dave.korn.cygwin@gmail.com> | 2009-08-10 01:55:14 +0000 |
commit | 4f2e34d821f249ecc3b7d8f8fce4670117c16c62 (patch) | |
tree | d00b1dcd90df633e690bba84d19af70cbc7df001 | |
parent | 2d7697cad14a8f5d507a27b738f19fbaaf3c2244 (diff) | |
download | newlib-4f2e34d821f249ecc3b7d8f8fce4670117c16c62.zip newlib-4f2e34d821f249ecc3b7d8f8fce4670117c16c62.tar.gz newlib-4f2e34d821f249ecc3b7d8f8fce4670117c16c62.tar.bz2 |
* mingw: Add fallbacks to search for MinGW components in standard
install locations if not found in compiler's $prefix.
-rw-r--r-- | winsup/utils/ChangeLog | 5 | ||||
-rwxr-xr-x | winsup/utils/mingw | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 4801469..5a144df 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -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> * mount.cc (do_mount): Don't exit, just return. diff --git a/winsup/utils/mingw b/winsup/utils/mingw index 63bfb02..8bf21cb 100755 --- a/winsup/utils/mingw +++ b/winsup/utils/mingw @@ -14,7 +14,8 @@ dir=$(cd $(dirname $("$compiler" -print-prog-name=ld))/../..; pwd) # [ "$dir" = '/' ] && 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 *\**) continue ;; *) mingw_dir=$d; break; |