* ltmain.in (-no-install): This doesn't work on win32 since

the search path for libraries is not encoded in the binary,
and dlls not in $PATH won't be found.  Fall back to -no-fast-install
instead.
This commit is contained in:
Gary V. Vaughan 1999-10-04 14:44:15 +00:00
parent cd8ed8796b
commit 13fef72767
2 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,10 @@
1999-10-04 Gary V. Vaughan <gary@oranda.demon.co.uk>
* ltmain.in (-no-install): This doesn't work on win32 since
the search path for libraries is not encoded in the binary,
and dlls not in $PATH won't be found. Fall back to -no-fast-install
instead.
* ltmain.in (-no-fast-install): Wrapper script used to add the
exeext on again when naming the wrapped executable.

View File

@ -965,7 +965,18 @@ compiler."
;;
-no-install)
no_install=yes
case "$host" in
*-*-cygwin* | *-*-mingw* | *-*-os2*)
# The PATH hackery in wrapper scripts is required on Windows
# in order for the loader to find any dlls it needs.
$echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
$echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
fast_install=no
;;
*)
no_install=yes
;;
esac
continue
;;