build-scripts/ltmain.sh
branchSDL-1.2
changeset 5101 3500563bb2f8
parent 4277 803eeeeaa8a0
--- a/build-scripts/ltmain.sh	Mon Jan 24 14:34:58 2011 -0800
+++ b/build-scripts/ltmain.sh	Wed Jan 26 12:26:27 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{