From cf90f82ed1373617b08ec2627ab184f972f4207f Mon Sep 17 00:00:00 2001 From: miod Date: Tue, 26 May 2015 19:38:13 +0000 Subject: [PATCH] Use a relative path against BSDOBJDIR to pick libcrypto; makes cross-lib work again. --- lib/libssl/ssl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libssl/ssl/Makefile b/lib/libssl/ssl/Makefile index 5a17ff20109..0d2f11b51e6 100644 --- a/lib/libssl/ssl/Makefile +++ b/lib/libssl/ssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.50 2015/05/17 22:39:39 kettenis Exp $ +# $OpenBSD: Makefile,v 1.51 2015/05/26 19:38:13 miod Exp $ LIB= ssl @@ -13,7 +13,7 @@ CFLAGS+= -Werror CFLAGS+= -DLIBRESSL_INTERNAL CFLAGS+= -I${SSL_SRC} -LDADD+= -L${.CURDIR}/../../libcrypto/crypto/obj -lcrypto +LDADD+= -L${BSDOBJDIR}/lib/libcrypto/crypto/obj -lcrypto SRCS=\ s3_meth.c s3_srvr.c s3_clnt.c s3_lib.c s3_enc.c s3_pkt.c s3_both.c \ -- 2.20.1