summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTobias Ulmer <tobiasu@cvs.openbsd.org>2015-06-05 21:52:02 +0000
committerTobias Ulmer <tobiasu@cvs.openbsd.org>2015-06-05 21:52:02 +0000
commitbfe445f8e6aba3a57515a142267bb678c3ebd312 (patch)
treefaf5fe3c9bea7025dfb30333396a7b308b80d7c9 /lib
parent80170af8578195952262673efc8009a108570cf1 (diff)
Link ssl and crypto via BSDOBJDIR, works with native and cross builds
ok mpi@
Diffstat (limited to 'lib')
-rw-r--r--lib/libtls/Makefile6
1 files 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