From 8bf21b3aaeed1c3beca294973eb6fb7a5d409bb4 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 9 Jan 2017 12:34:03 +0000 Subject: Provide TLS_INT for consistency with libssl/libcrypto. --- src/regress/lib/libtls/Makefile.inc | 2 ++ src/regress/lib/libtls/verify/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/regress/lib/libtls/Makefile.inc diff --git a/src/regress/lib/libtls/Makefile.inc b/src/regress/lib/libtls/Makefile.inc new file mode 100644 index 0000000000..e693da81b4 --- /dev/null +++ b/src/regress/lib/libtls/Makefile.inc @@ -0,0 +1,2 @@ +# Use this variable when the test needs internal symbols from libtls +TLS_INT= -Wl,-Bstatic -ltls -Wl,-Bdynamic diff --git a/src/regress/lib/libtls/verify/Makefile b/src/regress/lib/libtls/verify/Makefile index c66348a8a6..f8e445b7fc 100644 --- a/src/regress/lib/libtls/verify/Makefile +++ b/src/regress/lib/libtls/verify/Makefile @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile,v 1.2 2016/11/04 17:51:54 guenther Exp $ +# $OpenBSD: Makefile,v 1.3 2017/01/09 12:34:03 jsing Exp $ PROG= verifytest -LDADD= -lcrypto -lssl -Wl,-Bstatic -ltls -Wl,-Bdynamic +LDADD= -lcrypto -lssl ${TLS_INT} DPADD= ${LIBCRYPTO} ${LIBSSL} ${LIBTLS} WARNINGS= Yes -- cgit v1.2.3-55-g6feb