libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix to build DLLs using cegcc


From: Werner Koch
Subject: [PATCH] Fix to build DLLs using cegcc
Date: Fri, 26 Feb 2010 09:54:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

I am currently porting GnuPG to Windows CE and would like to see the
attached patch integrated.  My company (g10 Code) signed a CA.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
2010-02-26  Werner Koch  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Fix for non-x86
        mingw targets.

diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index b538fa6..7a76fd5 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3000,6 +3000,16 @@ cygwin*)
   lt_cv_file_magic_cmd='func_win32_libid'
   ;;
 
+mingw32ce*)
+  # Windows CE is often used with non-x86 platforms and thus the below
+  # mingw and cegcc checks don't work.  It would be possible to
+  # support other architectures in these checks.  However x86 is pretty
+  # hard coded and changing this would require quite some tests on all
+  # the platforms to be sure not to break something.  Thus we take the
+  # easy way out and don't check at all.
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 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',



reply via email to

[Prev in Thread] Current Thread [Next in Thread]