summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-12 09:11:49 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-12 09:11:49 +0000
commitfa8d458da5809542edd6b87d26ce9677a418bdb6 (patch)
treec345cecd687a3c10f1e560072a456dc7007f01cd
parentccc14d9f1b5dfbcc939c768b96bcb56e1ca91fd9 (diff)
Only evp_pkey_check needs static linking
-rw-r--r--regress/lib/libcrypto/evp/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/evp/Makefile b/regress/lib/libcrypto/evp/Makefile
index 89779ae22a7..c4a5294e66d 100644
--- a/regress/lib/libcrypto/evp/Makefile
+++ b/regress/lib/libcrypto/evp/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.4 2022/01/11 19:20:36 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2022/01/12 09:11:48 tb Exp $
PROGS= evptest evp_pkey_check
-LDADD= ${CRYPTO_INT}
+LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
WARNINGS= Yes
CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
@@ -9,6 +9,8 @@ CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
REGRESS_TARGETS+= regress-evptest
REGRESS_TARGETS+= regress-evp_pkey_check
+LDADD_evp_pkey_check= ${CRYPTO_INT} # XXX remove after bump
+
regress-evptest: evptest
./evptest ${.CURDIR}/evptests.txt