]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
authorGary V. Vaughan <gary@gnu.org>
Wed, 17 May 2000 10:20:26 +0000 (10:20 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 17 May 2000 10:20:26 +0000 (10:20 +0000)
separators.

ChangeLog
ltmain.in

index 9ca7b97504e84210b0b37ba796074978169d209c..00e3c8447a42ed0a5df61986f7379f717711d3fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-17  Gary V. Vaughan  <gvv@techie.com>
+
+       * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
+       separators.
+
 2000-05-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
index 170dadf9c710a7e4d7760a78fa7e0b04a7a97b2f..77bf92ae43f1253737d050082ec48b7f156eb15a 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -3559,13 +3559,21 @@ else
       # Run the actual program with our arguments.
 "
        case $host in
-       *-*-cygwin* | *-*-mingw | *-*-os2*)
-         # win32 systems need to use the prog path for dll
-         # lookup to work
+       # win32 systems need to use the prog path for dll
+       # lookup to work
+       *-*-cygwin*)
+         $echo >> $output "\
+      exec \$progdir/\$program \${1+\"\$@\"}
+"
+         ;;
+
+       # Backslashes separate directories on plain windows
+       *-*-mingw | *-*-os2*)
          $echo >> $output "\
       exec \$progdir\\\\\$program \${1+\"\$@\"}
 "
          ;;
+
        *)
          $echo >> $output "\
       # Export the path to the program.