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.
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.
;;
-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
;;