Rework dhtest to use accessors and link statically for now
authortb <tb@openbsd.org>
Wed, 12 Jan 2022 08:56:49 +0000 (08:56 +0000)
committertb <tb@openbsd.org>
Wed, 12 Jan 2022 08:56:49 +0000 (08:56 +0000)
regress/lib/libcrypto/dh/Makefile

index 3eaacc4..d8f7a51 100644 (file)
@@ -1,9 +1,9 @@
-#      $OpenBSD: Makefile,v 1.3 2014/07/08 15:53:52 jsing Exp $
+#      $OpenBSD: Makefile,v 1.4 2022/01/12 08:56:49 tb Exp $
 
 PROG=  dhtest
-LDADD= -lcrypto
+LDADD= ${CRYPTO_INT} # XXX link dynamically after bump
 DPADD= ${LIBCRYPTO}
 WARNINGS=      Yes
-CFLAGS+=       -DLIBRESSL_INTERNAL -Werror
+CFLAGS+=       -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
 
 .include <bsd.regress.mk>