mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* ltmain.in: strip off the .exe suffix only on *Win
(Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
This commit is contained in:
parent
1b2ea275d2
commit
306612d348
@ -1,3 +1,8 @@
|
||||
1999-05-23 Thomas Tanner <tanner@ffii.org>
|
||||
|
||||
* ltmain.in: strip off the .exe suffix only on *Win
|
||||
(Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
|
||||
|
||||
1999-05-22 Thomas Tanner <tanner@ffii.org>
|
||||
|
||||
* NEWS: updated
|
||||
|
@ -11,7 +11,7 @@ touch ltconfig
|
||||
touch ltmain.sh
|
||||
touch libtoolize
|
||||
aclocal
|
||||
automake --gnits --add-missing
|
||||
automake --gnu --add-missing
|
||||
autoconf
|
||||
|
||||
for sub in demo depdemo libltdl mdemo cdemo; do
|
||||
|
@ -42,4 +42,3 @@ local-install-files: $(DISTFILES)
|
||||
|| cp -p $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
|
@ -3262,11 +3262,15 @@ static const void *lt_preloaded_setup() {
|
||||
|
||||
# Only actually do things if our run command is non-null.
|
||||
if test -z "$run"; then
|
||||
case "$host" in
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2*)
|
||||
# win32 will think the script is a binary if it has
|
||||
# a .exe suffix, so we strip it off here.
|
||||
case $output in
|
||||
*.exe) output=`echo $output|sed 's,.exe$,,'` ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
$rm $output
|
||||
trap "$rm $output; exit 1" 1 2 15
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user