]> 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 14:13:35 +0000 (14:13 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 23 Jun 1999 14:13:35 +0000 (14:13 +0000)
mingw32.

ChangeLog
ltmain.in

index 5f59750aee74c418603fc3a17ae45ad4efb9872c..397f747b0c5139f345feea0539cf213ada3d013e 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 6530fc65e7fb10f17f5bdc622be26ae24c01a65f..59cf2eb44f342af4b6b3468b0a139ce1bba79e5b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -638,6 +638,12 @@ compiler."
 # #undef WIN32_LEAN_AND_MEAN
 # #include <stdio.h>
 #
+# #ifndef __CYGWIN__
+# #  ifdef __CYGWIN32__
+# #    define __CYGWIN__ __CYGWIN32__
+# #  endif
+# #endif
+#
 # #ifdef __cplusplus
 # extern "C" {
 # #endif
@@ -646,8 +652,10 @@ compiler."
 # }
 # #endif
 #
+# #ifdef __CYGWIN__
 # #include <cygwin/cygwin_dll.h>
 # DECLARE_CYGWIN_DLL( DllMain );
+# #endif
 # HINSTANCE __hDllInstance_base;
 #
 # BOOL APIENTRY