[sr-dev] git:master: Makefile.defs: don't link to libsctp on Linux for SCTP support

Daniel-Constantin Mierla miconda at gmail.com
Sat May 25 17:29:06 CEST 2013


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat May 25 10:53:04 2013 +0200

Makefile.defs: don't link to libsctp on Linux for SCTP support

- only sctp module needs to link to it

---

 Makefile.defs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.defs b/Makefile.defs
index 5381a8a..b5fe3bb 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1807,7 +1807,8 @@ $(info "sctp libraries not installed -- sctp disabled")
 		ifeq ($(SCTP),1)
 			# use lksctp
 			C_DEFS+=-DUSE_SCTP
-			LIBS+=-lsctp
+			# link to libsctp is needed only for sctp module
+			# LIBS+=-lsctp
 		endif
 	endif # SCTP
 endif




More information about the sr-dev mailing list