launch the real binary using its path.
+2002-11-18 Akim Demaille <akim@epita.fr>
+
+ * ltmain.in: Do not change the PATH in the wrappers: let them
+ launch the real binary using its path.
+
2002-11-18 Kevin Ryde <user42@zip.com.au>
* doc/libtool.texi (Library tips): Note array dimensions.
# 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 "\
*)
$echo >> $output "\
- # Export the path to the program.
- PATH=\"\$progdir:\$PATH\"
- export PATH
-
- exec \$program \${1+\"\$@\"}
+ exec \$progdir/\$program \${1+\"\$@\"}
"
;;
esac