From 053f6b089a14db59ad836d74069b46fce87c2b13 Mon Sep 17 00:00:00 2001 From: tobiasu Date: Fri, 5 Jun 2015 21:52:01 +0000 Subject: [PATCH] Link ssl and crypto via BSDOBJDIR, works with native and cross builds ok mpi@ --- lib/libtls/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libtls/Makefile b/lib/libtls/Makefile index 18113df999c..0bba0545f70 100644 --- a/lib/libtls/Makefile +++ b/lib/libtls/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2015/05/17 22:39:39 kettenis Exp $ +# $OpenBSD: Makefile,v 1.10 2015/06/05 21:52:01 tobiasu Exp $ CFLAGS+= -Wall -Werror -Wimplicit CFLAGS+= -DLIBRESSL_INTERNAL @@ -7,8 +7,8 @@ LIB= tls DPADD= ${LIBCRYPTO} ${LIBSSL} -LDADD+= -L${.CURDIR}/../../libcrypto/crypto/obj -lcrypto -LDADD+= -L${.CURDIR}/../../libssl/ssl/obj -lssl +LDADD+= -L${BSDOBJDIR}/lib/libcrypto/crypto -lcrypto +LDADD+= -L${BSDOBJDIR}/lib/libssl/ssl -lssl HDRS= tls.h -- 2.20.1