Only evp_pkey_check needs static linking
authortb <tb@openbsd.org>
Wed, 12 Jan 2022 09:11:48 +0000 (09:11 +0000)
committertb <tb@openbsd.org>
Wed, 12 Jan 2022 09:11:48 +0000 (09:11 +0000)
regress/lib/libcrypto/evp/Makefile

index 89779ae..c4a5294 100644 (file)
@@ -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