From 3bb871c769f7f1f1c3263c8dca6421ceebcf0770 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 25 Mar 2006 20:40:30 +0000 Subject: [PATCH] Fixed building DLL on Windows --- acinclude.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 96cd733ce..c408be4be 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2614,14 +2614,16 @@ bsdi[[45]]*) 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' ;;