From: Ralph Schleicher Date: Fri, 28 Feb 2003 15:27:35 +0000 (+0000) Subject: * ltmain.in: Only append a dot to the wrapper script when X-Git-Tag: release-1-5~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859d6cacc0ba25ec9d5d0caf74e2fbd3cccfe098;p=thirdparty%2Flibtool.git * ltmain.in: Only append a dot to the wrapper script when building on cygwin/MSYS (check for $build, not $host). --- diff --git a/ChangeLog b/ChangeLog index 2a38f13ff..75ad59db8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-28 Ralph Schleicher + + * ltmain.in: Only append a dot to the wrapper script when + building on cygwin/MSYS (check for $build, not $host). + 2003-02-27 Samuel Meder * libtool.m4 (ia64): Add support for Intel compiler (ecc) on IA64 diff --git a/ltmain.in b/ltmain.in index ebf0ec7fd..7e8af58b3 100644 --- a/ltmain.in +++ b/ltmain.in @@ -5410,7 +5410,7 @@ relink_command=\"$relink_command\"" # 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 @@ -5448,7 +5448,7 @@ relink_command=\"$relink_command\"" # 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