Link curl and the test apps with -lrt explicitly when necessary

When curl calls a function from that library then it needs to
explicitly link to the library instead of piggybacking on
libcurl's own dependency.  Without this, GNU ld with the
--no-add-needed flag fails when linking (which Fedora now does
by default).

Reported by: Quanah Gibson-Mount
Bug: http://curl.haxx.se/mail/lib-2010-09/0085.html
This commit is contained in:
Dan Fandrich
2010-09-11 17:04:05 -07:00
parent a7f6747019
commit 8e2f16e66f
3 changed files with 4 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ This release includes the following bugfixes:
o Curl_is_connected: use correct errno
o Added SSPI build to Watcom makefile
o progress: callback for POSTs less than MAX_INITIAL_POST_SIZE
o linking problem on Fedora 13
This release includes the following known bugs:
@@ -34,6 +35,6 @@ This release would not have looked like this without help, code, reports and
advice from friends like these:
Kamil Dudka, Ben Greear, Cameron Kaiser, Dan Fandrich, Dirk Manske,
Guenter Knauf, Julien Chaffraix, Kamil Dudka
Guenter Knauf, Julien Chaffraix, Kamil Dudka, Quanah Gibson-Mount
Thanks! (and sorry if I forgot to mention someone)