]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (-no-install): This doesn't work on win32 since
authorGary V. Vaughan <gary@gnu.org>
Mon, 4 Oct 1999 14:44:15 +0000 (14:44 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 4 Oct 1999 14:44:15 +0000 (14:44 +0000)
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.

ChangeLog
ltmain.in

index a4c3f794ea89c0de1f49d799d1d3e0c2e8dcdbdd..47bc1dce305f1abb575561fb36a2cb9922963e06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index e968b69e17eae3a6936ab24a93a556bafb5e8f2d..b099341fb33b1a5ee400edd288286c5b645a0ebb 100644 (file)
--- 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
        ;;