[sr-dev] git:master: auth_ims: don't link with -lrt on darwin os

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 2 14:40:51 CET 2013


Module: sip-router
Branch: master
Commit: cf93bf2097660c093645550f1d3b54fdc1154288
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cf93bf2097660c093645550f1d3b54fdc1154288

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Jan  2 14:22:39 2013 +0100

auth_ims: don't link with -lrt on darwin os

---

 modules/auth_ims/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/modules/auth_ims/Makefile b/modules/auth_ims/Makefile
index 09ca633..a70c403 100644
--- a/modules/auth_ims/Makefile
+++ b/modules/auth_ims/Makefile
@@ -13,7 +13,11 @@ LIBS=
 DEFS+=-DOPENSER_MOD_INTERFACE
 
 DEFS += -I/usr/include/libxml2
-LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt
+LIBS += -L$(LOCALBASE)/lib -lxml2
+
+ifneq ($(OS),darwin)
+	LIBS += -lrt
+endif
 
 SERLIBPATH=../../lib
 SER_LIBS+=$(SERLIBPATH)/kcore/kcore




More information about the sr-dev mailing list