From: tb Date: Wed, 12 Jan 2022 09:11:48 +0000 (+0000) Subject: Only evp_pkey_check needs static linking X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f1d51a76577e9f7ac8bc8385b050782a83e4d4f1;p=openbsd Only evp_pkey_check needs static linking --- 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