[sr-dev] git:4.1:481a7628: Makefile.defs: test if SCTP is set to enable core USE_SCTP

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


Module: kamailio
Branch: 4.1
Commit: 481a7628eebcdeb0a12ac4f1286882c946204d56
URL: https://github.com/kamailio/kamailio/commit/481a7628eebcdeb0a12ac4f1286882c946204d56

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

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

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

---

Modified: Makefile.defs

---

Diff:  https://github.com/kamailio/kamailio/commit/481a7628eebcdeb0a12ac4f1286882c946204d56.diff
Patch: https://github.com/kamailio/kamailio/commit/481a7628eebcdeb0a12ac4f1286882c946204d56.patch

---

diff --git a/Makefile.defs b/Makefile.defs
index c3242ca..da7d4fd 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