Link curl and the test apps with -lrt explicitly when necessary
authorDan Fandrich <dan@coneharvesters.com>
Sun, 12 Sep 2010 00:04:05 +0000 (17:04 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Sun, 12 Sep 2010 00:08:23 +0000 (17:08 -0700)
commit8e2f16e66f507ffd7a61b41e3052527b91883182
treebf7b02862c43e1d1a1af7cfbe30d85d4c3e57c1d
parenta7f6747019445558075fe9578a18f0eb6577bae7
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
RELEASE-NOTES
acinclude.m4
tests/libtest/Makefile.am