Browse code

tls: add lib64 to LIBS path

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

Andrei Pelinescu-Onciul authored on 15/08/2010 16:07:38
Showing 1 changed files
... ...
@@ -10,8 +10,10 @@ auto_gen=
10 10
 NAME=tls.so
11 11
 
12 12
 DEFS+= -I$(LOCALBASE)/ssl/include
13
-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl  -lcrypto \
14
-	$(TLS_EXTRA_LIBS)
13
+LIBS+=	-L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib \
14
+		-L$(LOCALBASE)/lib64 -L$(LOCALBASE)/ssl/lib64 \
15
+		-lssl  -lcrypto \
16
+		$(TLS_EXTRA_LIBS)
15 17
 # NOTE: depending on the way in which libssl was compiled you might
16 18
 #       have to add -lz -lkrb5   (zlib and kerberos5).
17 19
 #       E.g.: make TLS_HOOKS=1 TLS_EXTRA_LIBS="-lz -lkrb5"