summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-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