Fixed building DLL on Windows
authorSam Lantinga <slouken@libsdl.org>
Sat, 25 Mar 2006 20:40:30 +0000
changeset 1613 2095da6364c9
parent 1612 97d0966f4bf7
child 1614 6162b8d921ce
Fixed building DLL on Windows
acinclude.m4
--- a/acinclude.m4	Fri Mar 24 06:10:24 2006 +0000
+++ b/acinclude.m4	Sat Mar 25 20:40:30 2006 +0000
@@ -2614,14 +2614,16 @@
 
 cygwin*)
   # func_win32_libid is a shell function defined in ltmain.sh
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+  #lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+  lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_cmd='func_win32_libid'
   ;;
 
 mingw* | pw32*)
   # Base MSYS/MinGW do not provide the 'file' command needed by
   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
-  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+  #lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+  lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_cmd='$OBJDUMP -f'
   ;;