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

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


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

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.

---

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

diff --git a/Makefile.defs b/Makefile.defs
index 0118e6a..5291bf8 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