[sr-dev] git:3.3: Makefile: SCTP library check doesn't look in /usr/lib64

Peter Dunkley peter.dunkley at crocodile-rcs.com
Thu Jul 12 17:28:27 CEST 2012


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

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date:   Thu Jul 12 16:26:38 2012 +0100

Makefile: SCTP library check doesn't look in /usr/lib64

- This means you can't build Kamailio for a 64-bit OS like CentOS or
  Fedora.
(cherry picked from commit f2f8ff72137a39702d284dfe6deb9ef4442e4e78)

---

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

diff --git a/Makefile.defs b/Makefile.defs
index 0e27865..9d7a49f 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1742,6 +1742,7 @@ ifeq ($(OS), linux)
 		sctp_dev_locations := /usr/include/netinet/sctp.h \
 								$(LOCALBASE)/include/netinet/sctp.h
 		sctp_lib_locations := /usr/lib/libsctp.so \
+								/usr/lib64/libsctp.so \
 								$(LOCALBASE)/usr/local/lib/libsctp.so
 		sctp_dev_path := $(wildcard $(sctp_dev_locations))
 		sctp_lib_path := $(wildcard $(sctp_lib_locations))




More information about the sr-dev mailing list