build-scripts/ltmain.sh
changeset 5100 cce11d33d5c6
parent 3346 195eb6d42bf0
child 6442 2d3caa191dc4
--- a/build-scripts/ltmain.sh	Wed Jan 26 00:03:34 2011 -0800
+++ b/build-scripts/ltmain.sh	Wed Jan 26 12:23:32 2011 -0800
@@ -2560,7 +2560,7 @@
     ;;
   *ar\ archive*) # could be an import, or static
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
-       $EGREP 'file format pe-i386(.*architecture: i386)?' >/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{