summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-01-09 12:34:04 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-01-09 12:34:04 +0000
commit17078e38c442a0460aeff9ab96050cb07f15741a (patch)
tree10fe1e788d63a9b71fb5614557f9a8568018d835 /regress/lib
parent6c3279b5b9b31380828faf80eb546bda8bcab5d2 (diff)
Provide TLS_INT for consistency with libssl/libcrypto.
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libtls/Makefile.inc2
-rw-r--r--regress/lib/libtls/verify/Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libtls/Makefile.inc b/regress/lib/libtls/Makefile.inc
new file mode 100644
index 00000000000..e693da81b48
--- /dev/null
+++ b/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/regress/lib/libtls/verify/Makefile b/regress/lib/libtls/verify/Makefile
index c66348a8a6e..f8e445b7fca 100644
--- a/regress/lib/libtls/verify/Makefile
+++ b/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