Fix library search path so we link against the freshly built libcrypto.so
authortobiasu <tobiasu@openbsd.org>
Fri, 5 Jun 2015 21:42:37 +0000 (21:42 +0000)
committertobiasu <tobiasu@openbsd.org>
Fri, 5 Jun 2015 21:42:37 +0000 (21:42 +0000)
instead of a stale one.

ok miod@ mpi@

lib/libssl/ssl/Makefile

index 0d2f11b..a13fcdf 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.51 2015/05/26 19:38:13 miod Exp $
+# $OpenBSD: Makefile,v 1.52 2015/06/05 21:42:37 tobiasu Exp $
 
 LIB=   ssl
 
@@ -13,7 +13,7 @@ CFLAGS+= -Werror
 CFLAGS+= -DLIBRESSL_INTERNAL
 CFLAGS+= -I${SSL_SRC}
 
-LDADD+= -L${BSDOBJDIR}/lib/libcrypto/crypto/obj -lcrypto
+LDADD+= -L${BSDOBJDIR}/lib/libcrypto/crypto -lcrypto
 
 SRCS=\
        s3_meth.c s3_srvr.c s3_clnt.c s3_lib.c s3_enc.c s3_pkt.c s3_both.c \