From 9c96fd790399439730561da51272b5233c07a63d Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Sun, 17 May 2015 22:39:39 +0000 Subject: Record inter-library dependencies between libcrypto, libssl and libtls --- src/lib/libcrypto/crypto/shlib_version | 1 + src/lib/libcrypto/shlib_version | 1 + src/lib/libssl/shlib_version | 1 + src/lib/libssl/ssl/Makefile | 4 +++- src/lib/libssl/ssl/shlib_version | 1 + src/lib/libtls/Makefile | 5 ++++- 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/lib/libcrypto/crypto/shlib_version b/src/lib/libcrypto/crypto/shlib_version index ed8f7473b5..ae052231bf 100644 --- a/src/lib/libcrypto/crypto/shlib_version +++ b/src/lib/libcrypto/crypto/shlib_version @@ -1,2 +1,3 @@ +# Don't forget to give libssl and libtls the same type of bump! major=33 minor=0 diff --git a/src/lib/libcrypto/shlib_version b/src/lib/libcrypto/shlib_version index ed8f7473b5..ae052231bf 100644 --- a/src/lib/libcrypto/shlib_version +++ b/src/lib/libcrypto/shlib_version @@ -1,2 +1,3 @@ +# Don't forget to give libssl and libtls the same type of bump! major=33 minor=0 diff --git a/src/lib/libssl/shlib_version b/src/lib/libssl/shlib_version index 2e4d25cdf5..b491ec8a3d 100644 --- a/src/lib/libssl/shlib_version +++ b/src/lib/libssl/shlib_version @@ -1,2 +1,3 @@ +# Don't forget to give libtls the same type of bump! major=32 minor=0 diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile index 3dbd476858..5a17ff2010 100644 --- a/src/lib/libssl/ssl/Makefile +++ b/src/lib/libssl/ssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.49 2015/02/07 03:26:06 jsing Exp $ +# $OpenBSD: Makefile,v 1.50 2015/05/17 22:39:39 kettenis Exp $ LIB= ssl @@ -13,6 +13,8 @@ CFLAGS+= -Werror CFLAGS+= -DLIBRESSL_INTERNAL CFLAGS+= -I${SSL_SRC} +LDADD+= -L${.CURDIR}/../../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 \ s23_meth.c s23_srvr.c s23_clnt.c s23_lib.c s23_pkt.c \ diff --git a/src/lib/libssl/ssl/shlib_version b/src/lib/libssl/ssl/shlib_version index 2e4d25cdf5..b491ec8a3d 100644 --- a/src/lib/libssl/ssl/shlib_version +++ b/src/lib/libssl/ssl/shlib_version @@ -1,2 +1,3 @@ +# Don't forget to give libtls the same type of bump! major=32 minor=0 diff --git a/src/lib/libtls/Makefile b/src/lib/libtls/Makefile index 9d88c15923..18113df999 100644 --- a/src/lib/libtls/Makefile +++ b/src/lib/libtls/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2015/03/31 14:03:38 jsing Exp $ +# $OpenBSD: Makefile,v 1.9 2015/05/17 22:39:39 kettenis Exp $ CFLAGS+= -Wall -Werror -Wimplicit CFLAGS+= -DLIBRESSL_INTERNAL @@ -7,6 +7,9 @@ LIB= tls DPADD= ${LIBCRYPTO} ${LIBSSL} +LDADD+= -L${.CURDIR}/../../libcrypto/crypto/obj -lcrypto +LDADD+= -L${.CURDIR}/../../libssl/ssl/obj -lssl + HDRS= tls.h SRCS= tls.c \ -- cgit v1.2.3-55-g6feb