From fe57a364731807e32a3b3a67a7bf200c84532b78 Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Sun, 26 Oct 2008 04:04:56 +0000 Subject: Fixing the build on Solaris (ldap_agent_bin-main.o) --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f54d69a6..57e54313 100644 --- a/Makefile.am +++ b/Makefile.am @@ -970,6 +970,10 @@ ldap_agent_bin_SOURCES = ldap/servers/snmp/main.c \ ldap_agent_bin_CPPFLAGS = $(AM_CPPFLAGS) @netsnmp_inc@ @ldapsdk_inc@ @nss_inc@ @nspr_inc@ ldap_agent_bin_LDADD = $(LDAPSDK_LINK) $(SASL_LINK) $(NSS_LINK) $(NSPR_LINK) $(NETSNMP_LINK) +if SOLARIS +ldap_agent_bin_LDADD += -lrt +endif + #------------------------ # ldclt -- cgit