[sr-dev] git:master:a9d10bba: Makefile.defs: test if SCTP is set to enable core USE_SCTP

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 14 14:09:20 CEST 2015


Module: kamailio
Branch: master
Commit: a9d10bbae1ffbd6be0f5a83ffacfa57a03174a2e
URL: https://github.com/kamailio/kamailio/commit/a9d10bbae1ffbd6be0f5a83ffacfa57a03174a2e

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

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

---

Modified: Makefile.defs

---

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

---

diff --git a/Makefile.defs b/Makefile.defs
index ee0ded0..1c05471 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -699,6 +699,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