From 700774eef3c62188581c059f7377432b6e357342 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 18 Nov 2002 16:40:59 +0000 Subject: [PATCH] * ltmain.in: Do not change the PATH in the wrappers: let them launch the real binary using its path. --- ChangeLog | 5 +++++ ltmain.in | 14 +------------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6fd9111c..fe273596 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-18 Akim Demaille + + * ltmain.in: Do not change the PATH in the wrappers: let them + launch the real binary using its path. + 2002-11-18 Kevin Ryde * doc/libtool.texi (Library tips): Note array dimensions. diff --git a/ltmain.in b/ltmain.in index cd2fbbf1..1d393213 100644 --- a/ltmain.in +++ b/ltmain.in @@ -4395,14 +4395,6 @@ else # Run the actual program with our arguments. " case $host in - # win32 systems need to use the prog path for dll - # lookup to work - *-*-cygwin* | *-*-pw32*) - $echo >> $output "\ - exec \$progdir/\$program \${1+\"\$@\"} -" - ;; - # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ @@ -4412,11 +4404,7 @@ else *) $echo >> $output "\ - # Export the path to the program. - PATH=\"\$progdir:\$PATH\" - export PATH - - exec \$program \${1+\"\$@\"} + exec \$progdir/\$program \${1+\"\$@\"} " ;; esac