From 5921dc77fc593bf9ff8ee10ebf591897e7dab93d Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 17 May 2000 10:20:26 +0000 Subject: [PATCH] * ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path separators. --- ChangeLog | 5 +++++ ltmain.in | 14 +++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) 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. -- 2.47.3