]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Only append a dot to the wrapper script when
authorRalph Schleicher <rs@nunatak.allgaeu.org>
Fri, 28 Feb 2003 15:27:35 +0000 (15:27 +0000)
committerRobert Boehne <rboehne@gnu.org>
Fri, 28 Feb 2003 15:27:35 +0000 (15:27 +0000)
building on cygwin/MSYS (check for $build, not $host).

ChangeLog
ltmain.in

index 2a38f13ff570fd93f5bdf3bf41f06ac48a5e7599..75ad59db85723bf5da7ee861f17bcadabc891ad4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-28  Ralph Schleicher  <rs@nunatak.allgaeu.org>
+
+       * ltmain.in: Only append a dot to the wrapper script when
+       building on cygwin/MSYS (check for $build, not $host).
+
 2003-02-27  Samuel Meder  <meder@mcs.anl.gov>
 
        * libtool.m4 (ia64): Add support for Intel compiler (ecc) on IA64
index ebf0ec7fd7837734857bb77e40702bd59dd82c72..7e8af58b33ef14e319d3f3c9503fa2510688f7ca 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -5410,7 +5410,7 @@ relink_command=\"$relink_command\""
          # To insure that "foo" is sourced, and not "foo.exe",
          # finese the cygwin/MSYS system by explicitly sourcing "foo."
          # which disallows the automatic-append-.exe behavior.
-         case $host in
+         case $build in
          *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
          *) wrapperdot=${wrapper} ;;
          esac
@@ -5448,7 +5448,7 @@ relink_command=\"$relink_command\""
          # To insure that "foo" is sourced, and not "foo.exe",
          # finese the cygwin/MSYS system by explicitly sourcing "foo."
          # which disallows the automatic-append-.exe behavior.
-         case $host in
+         case $build in
          *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
          *) wrapperdot=${wrapper} ;;
          esac