From: Gary V. Vaughan Date: Mon, 4 Oct 1999 14:44:15 +0000 (+0000) Subject: * ltmain.in (-no-install): This doesn't work on win32 since X-Git-Tag: multi-language-fork~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13fef72767ba1b2fdcc2cf9eac1c9b628839863c;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index a4c3f794e..47bc1dce3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1999-10-04 Gary V. Vaughan + * 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. diff --git a/ltmain.in b/ltmain.in index e968b69e1..b099341fb 100644 --- a/ltmain.in +++ b/ltmain.in @@ -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 ;;