]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (ltdll.c): Support for crosscompiling from linux to
authorOlly Betts <olly@muscat.co.uk>
Wed, 23 Jun 1999 13:22:27 +0000 (13:22 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 23 Jun 1999 13:22:27 +0000 (13:22 +0000)
mingw32.

ChangeLog
ltmain.in

index c6063a7592138d0214ccedb4eeb1727461d91b41..dcd76e17f5209107eda11b1bc59b0c0b8dd74690 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-23  Olly Betts  <olly@muscat.co.uk>
+       
+       * ltmain.in (ltdll.c): Support for crosscompiling from linux to
+       mingw32.
+
 1999-06-23  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
        * ltconfig.in (cygwin, export_symbols_cmds): If there is already
index 45f8acc16502813b9fe76cd8e5e93c13560cec15..ec56c4f97820fb3f9b24d4bb961cc00677169d6b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -636,6 +636,12 @@ compiler."
 # #undef WIN32_LEAN_AND_MEAN
 # #include <stdio.h>
 #
+# #ifndef __CYGWIN__
+# #  ifdef __CYGWIN32__
+# #    define __CYGWIN__ __CYGWIN32__
+# #  endif
+# #endif
+#
 # #ifdef __cplusplus
 # extern "C" {
 # #endif
@@ -644,8 +650,10 @@ compiler."
 # }
 # #endif
 #
+# #ifdef __CYGWIN__
 # #include <cygwin/cygwin_dll.h>
 # DECLARE_CYGWIN_DLL( DllMain );
+# #endif
 # HINSTANCE __hDllInstance_base;
 #
 # BOOL APIENTRY