From: Gary V. Vaughan Date: Wed, 17 May 2000 10:20:26 +0000 (+0000) Subject: * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path X-Git-Tag: release-1-3d~176 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5921dc77fc593bf9ff8ee10ebf591897e7dab93d;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 9ca7b9750..00e3c8447 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-17 Gary V. Vaughan + + * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path + separators. + 2000-05-14 Alexandre Oliva * libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): diff --git a/ltmain.in b/ltmain.in index 170dadf9c..77bf92ae4 100644 --- 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.