From 49a37c7556d9828b93c78855541339108ad348ca Mon Sep 17 00:00:00 2001 From: Yves Mettier Date: Wed, 21 Nov 2012 11:40:42 +0100 Subject: [PATCH] Fix for nanosleep missing on Solaris Signed-off-by: Florian Forster --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2