From f1d51a76577e9f7ac8bc8385b050782a83e4d4f1 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 12 Jan 2022 09:11:48 +0000 Subject: [PATCH] Only evp_pkey_check needs static linking --- regress/lib/libcrypto/evp/Makefile | 6 ++++-- 1 file 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 -- 2.20.1