From: Yves Mettier Date: Wed, 21 Nov 2012 10:40:42 +0000 (+0100) Subject: Fix for nanosleep missing on Solaris X-Git-Tag: collectd-5.2.1~10 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=49a37c7556d9828b93c78855541339108ad348ca;p=collectd.git Fix for nanosleep missing on Solaris Signed-off-by: Florian Forster --- diff --git a/src/Makefile.am b/src/Makefile.am index d82cd893..73e2df38 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -119,6 +119,9 @@ collectd_tg_LDADD = if BUILD_WITH_LIBSOCKET collectd_tg_LDADD += -lsocket endif +if BUILD_WITH_LIBRT +collectd_tg_LDADD += -lrt +endif if BUILD_AIX collectd_tg_LDADD += -lm endif