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

Author: Carsten Bock <[email protected]>
Committer: Carsten Bock <[email protected]>
Date:   Tue Jan 15 08:18:52 2013 +0100

b/f: Need to link librt (on OS non-Darwin)

---

 modules/cdp/Makefile                 |    7 +++++--
 modules/ims_auth/Makefile            |    4 ++++
 modules/ims_registrar_pcscf/Makefile |    4 ++++
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/modules/cdp/Makefile b/modules/cdp/Makefile
index 15ef21b..d555e62 100644
--- a/modules/cdp/Makefile
+++ b/modules/cdp/Makefile
@@ -13,11 +13,14 @@ endif
 ifneq ($(XML2CFG),)
        DEFS += $(shell $(XML2CFG) --cflags )
        LIBS += $(shell $(XML2CFG) --libs)
-       LIBS += -lrt
 else
        INCLUDES +=-I$(LOCALBASE)/include/libxml2 \
                -I$(LOCALBASE)/include
-       LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt
+       LIBS += -L$(LOCALBASE)/lib -lxml2
+endif
+
+ifneq ($(OS),darwin)
+       LIBS += -lrt
 endif
 
 include ../../Makefile.modules
diff --git a/modules/ims_auth/Makefile b/modules/ims_auth/Makefile
index a891adf..c3776e6 100644
--- a/modules/ims_auth/Makefile
+++ b/modules/ims_auth/Makefile
@@ -22,6 +22,10 @@ else
        LIBS+=-L$(LOCALBASE)/lib -lxml2
 endif
 
+ifneq ($(OS),darwin)
+       LIBS += -lrt
+endif
+
 DEFS+=-DOPENSER_MOD_INTERFACE
 
 SERLIBPATH=../../lib
diff --git a/modules/ims_registrar_pcscf/Makefile 
b/modules/ims_registrar_pcscf/Makefile
index cae4581..8c45b9d 100644
--- a/modules/ims_registrar_pcscf/Makefile
+++ b/modules/ims_registrar_pcscf/Makefile
@@ -22,6 +22,10 @@ else
        LIBS+=-L$(LOCALBASE)/lib -lxml2
 endif
 
+ifneq ($(OS),darwin)
+       LIBS += -lrt
+endif
+
 DEFS+=-DOPENSER_MOD_INTERFACE
 
 SERLIBPATH=../../lib


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to