2003-02-27 Ralph Schleicher <address@hidden>
* ltmain.in: Only append a dot to the wrapper script when
building on cygwin/MSYS (check for $build, not $host).
diff -u libtool-20030219/ltmain.in.orig libtool-20030219/ltmain.in
--- libtool-20030219/ltmain.in.orig Tue Feb 18 18:12:39 2003
+++ libtool-20030219/ltmain.in Thu Feb 27 14:35:29 2003
@@ -5379,7 +5379,7 @@
# To insure that "foo" is sourced, and not "foo.exe",
# finese the cygwin/MSYS system by explicitly sourcing "foo."
# which disallows the automatic-append-.exe behavior.
- case $host in
+ case $build in
*cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
*) wrapperdot=${wrapper} ;;
esac
@@ -5417,7 +5417,7 @@
# To insure that "foo" is sourced, and not "foo.exe",
# finese the cygwin/MSYS system by explicitly sourcing "foo."
# which disallows the automatic-append-.exe behavior.
- case $host in
+ case $build in
*cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
*) wrapperdot=${wrapper} ;;
esac