* ltmain.in (deplib): The cygwin environment doesn't actually have

-lm, and although the linker fakes having one, specifiying it to
libtool will break ILD, so we ignore it when generating
dependencies.
This commit is contained in:
Gary V. Vaughan 1999-02-12 18:53:52 +00:00
parent 125219f71f
commit c61b75ee1e
2 changed files with 14 additions and 0 deletions

View File

@ -1,4 +1,9 @@
1999-02-12 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* ltmain.in (deplib): The cygwin environment doesn't actually have
-lm, and although the linker fakes having one, specifiying it to
libtool will break ILD, so we ignore it when generating
dependencies.
* ltmain.in: Applied Thomas Tanner's latest ild.diff. I seem to
be spending all my time merging these diffs rather than adding to

View File

@ -1398,6 +1398,15 @@ compiler."
continue
;;
-l*)
case "$host" in
*-*-cygwin*)
# The cygwin environment doesn't actually have -lm, and
# although the linker fakes having one, specifiying it to
# libtool will break ILD!
case "$deplib" in
-lm) continue ;;
esac
esac
name="`expr $deplib : '-l\(.*\)'`"
libname=`eval \\$echo \"$libname_spec\"`
found=no