From: Gary V. Vaughan Date: Sat, 27 May 2000 01:44:44 +0000 (+0000) Subject: * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path X-Git-Tag: release-1-3-5~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32cb39aa24c8c92b810ef7460f095265f1f1492a;p=thirdparty%2Flibtool.git * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path separators. --- diff --git a/ChangeLog b/ChangeLog index 65949898c..571f0ff6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-27 Gary V. Vaughan + + * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path + separators. + 2000-05-27 Chris Lattner * ltconfig.in (*-sequent-sysv4): New Port. diff --git a/NEWS b/NEWS index e50703217..6ca431f74 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ NEWS - list of user-visible changes between releases of GNU Libtool New in 1.3.5: 2000-05-27, CVS version 1.3.4a, Libtool team: * Support for *-sequent-sysv4. +* Support for Cygwin-1.1.0. * Support recent dlltool formats. * Bugfixes. diff --git a/ltmain.in b/ltmain.in index 085457140..48a146ca4 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2927,13 +2927,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 + *-*-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.