2010-03-03  Ozkan Sezer  <sezeroz@gmail.com>
	* ltmain.sh (func_win32_libid): Update from the libtool git repo.


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1985 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/ChangeLog b/mingw-w64-crt/ChangeLog
index b9b6c29..576e762 100644
--- a/mingw-w64-crt/ChangeLog
+++ b/mingw-w64-crt/ChangeLog
@@ -3,6 +3,7 @@
 	* aclocal.m4 (_LT_CHECK_MAGIC_METHOD): The latest libtool.m4 w64
 	fix from the libtool git repository applied.
 	* configure: Likewise.
+	* ltmain.sh (func_win32_libid): Update from the libtool git repo.
 
 2010-02-19  Jonathan Yong  <jon_y@sourceforge.net>
 
diff --git a/mingw-w64-crt/build-aux/ltmain.sh b/mingw-w64-crt/build-aux/ltmain.sh
index 3ef0f14..4b8231c 100755
--- a/mingw-w64-crt/build-aux/ltmain.sh
+++ b/mingw-w64-crt/build-aux/ltmain.sh
@@ -2850,7 +2850,7 @@
     ;;
   *ar\ archive*) # could be an import, or static
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format (pei?-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
+       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
       win32_nmres=`eval $NM -f posix -A $1 |
 	$SED -n -e '
 	    1,100{