Ozkan Sezer to slouken
authorSam Lantinga <slouken@libsdl.org>
Wed, 26 Jan 2011 12:23:32 -0800
changeset 5100cce11d33d5c6
parent 5099 1b3678ac9804
child 5102 42a7591530d5
Ozkan Sezer to slouken

The attached small patch updates SDL's libtoolized files for
pe-x86_64 magic, ie win/x64.
acinclude/libtool.m4
build-scripts/ltmain.sh
     1.1 --- a/acinclude/libtool.m4	Wed Jan 26 00:03:34 2011 -0800
     1.2 +++ b/acinclude/libtool.m4	Wed Jan 26 12:23:32 2011 -0800
     1.3 @@ -3014,7 +3014,7 @@
     1.4      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     1.5      lt_cv_file_magic_cmd='func_win32_libid'
     1.6    else
     1.7 -    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
     1.8 +    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     1.9      lt_cv_file_magic_cmd='$OBJDUMP -f'
    1.10    fi
    1.11    lt_cv_deplibs_check_method=pass_all
     2.1 --- a/build-scripts/ltmain.sh	Wed Jan 26 00:03:34 2011 -0800
     2.2 +++ b/build-scripts/ltmain.sh	Wed Jan 26 12:23:32 2011 -0800
     2.3 @@ -2560,7 +2560,7 @@
     2.4      ;;
     2.5    *ar\ archive*) # could be an import, or static
     2.6      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
     2.7 -       $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
     2.8 +       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null ; then
     2.9        win32_nmres=`eval $NM -f posix -A $1 |
    2.10  	$SED -n -e '
    2.11  	    1,100{