[sr-dev] git:4.2:57cf13ce: Makefile.defs: test if SCTP is set to enable core USE_SCTP

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 14 15:27:40 CEST 2015


Module: kamailio
Branch: 4.2
Commit: 57cf13ce5531e1b0d92bc00a29f358bb0e24524b
URL: https://github.com/kamailio/kamailio/commit/57cf13ce5531e1b0d92bc00a29f358bb0e24524b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-07-14T15:23:48+02:00

Makefile.defs: test if SCTP is set to enable core USE_SCTP

(cherry picked from commit a9d10bbae1ffbd6be0f5a83ffacfa57a03174a2e)
(cherry picked from commit 8c597a012e68408475f1abf1b65a1970b8ecd298)

---

Modified: Makefile.defs

---

Diff:  https://github.com/kamailio/kamailio/commit/57cf13ce5531e1b0d92bc00a29f358bb0e24524b.diff
Patch: https://github.com/kamailio/kamailio/commit/57cf13ce5531e1b0d92bc00a29f358bb0e24524b.patch

---

diff --git a/Makefile.defs b/Makefile.defs
index 96e9547..b0829e5 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -753,6 +753,10 @@ ifeq ($(WITHAS), 1)
 	C_DEFS+= -DWITH_AS_SUPPORT
 endif
 
+ifeq ($(SCTP), 1)
+	C_DEFS+= -DUSE_SCTP
+endif
+
 ifeq ($(mode),)
 	mode = release
 endif




More information about the sr-dev mailing list