]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some
authorOlly Betts <olly@muscat.co.uk>
Mon, 26 Jul 1999 15:16:10 +0000 (15:16 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 26 Jul 1999 15:16:10 +0000 (15:16 +0000)
typos made by Evil Gary while (mis)applying my patch :-).

ChangeLog
libtool.m4

index 7c68ff1158e783fbfaaee415c1bb696f263cdfea..ae97c97dbf8ea5b100de242084ec87f3d859b6fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-07-26  Olly Betts  <olly@muscat.co.uk>
 
+       * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops.  Fix some
+       typos made by Evil Gary while (mis)applying my patch :-).
+
        * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP):  On second
        thoughts, only probe for -mdll vs -dll on mingw, and revert to
        the old `-Wl,--dll -nostartfiles' on cygwin.
index 1a5be173e8a9d2f105863369da84a669ebb27848..1533d91c58616954f27b3ef1ee8e86df34ac20dd 100644 (file)
@@ -138,14 +138,14 @@ ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
 
   case $host in
   *-*-cygwin*)
-    # cygwin systems need to tell pass --dll to the linker, and not link
+    # cygwin systems need to pass --dll to the linker, and not link
     # crt.o which will require a WinMain@16 definition.
-    lt_cv_cc_ddll_switch="-Wl,-dll -nostartfiles" ;;
+    lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
   *-*-mingw*)
     # old mingw systems require "-dll" to link a DLL, while more recent ones
     # require "-mdll"
     SAVE_CFLAGS="$CFLAGS"
-    CFLAGS="$CFLAGS -mdll$lt_nostartfiles"
+    CFLAGS="$CFLAGS -mdll"
     AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
       [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
     CFLAGS="$SAVE_CFLAGS" ;;