[sr-dev] git:andrei/tcp_tls_changes: tls: add lib64 to LIBS path

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Aug 16 01:10:06 CEST 2010


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

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Sun Aug 15 18:07:38 2010 +0200

tls: add lib64 to LIBS path

Add default openssl install path on 64 bit systems
($(LOCALBASE)/ssl/lib64).

---

 modules/tls/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/tls/Makefile b/modules/tls/Makefile
index 0c3aa30..a04aea6 100644
--- a/modules/tls/Makefile
+++ b/modules/tls/Makefile
@@ -10,8 +10,10 @@ auto_gen=
 NAME=tls.so
 
 DEFS+= -I$(LOCALBASE)/ssl/include
-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl  -lcrypto \
-	$(TLS_EXTRA_LIBS)
+LIBS+=	-L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib \
+		-L$(LOCALBASE)/lib64 -L$(LOCALBASE)/ssl/lib64 \
+		-lssl  -lcrypto \
+		$(TLS_EXTRA_LIBS)
 # NOTE: depending on the way in which libssl was compiled you might
 #       have to add -lz -lkrb5   (zlib and kerberos5).
 #       E.g.: make TLS_HOOKS=1 TLS_EXTRA_LIBS="-lz -lkrb5"




More information about the sr-dev mailing list