From 859d6cacc0ba25ec9d5d0caf74e2fbd3cccfe098 Mon Sep 17 00:00:00 2001 From: Ralph Schleicher Date: Fri, 28 Feb 2003 15:27:35 +0000 Subject: [PATCH] * ltmain.in: Only append a dot to the wrapper script when building on cygwin/MSYS (check for $build, not $host). --- ChangeLog | 5 +++++ ltmain.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.47.2