Make this regress test link staticly and use internal symbols
authorbeck <beck@openbsd.org>
Tue, 28 Jun 2022 08:41:17 +0000 (08:41 +0000)
committerbeck <beck@openbsd.org>
Tue, 28 Jun 2022 08:41:17 +0000 (08:41 +0000)
so that it works and compiles during the tb@ pre-bump shuffle(tm).

regress/lib/libcrypto/asn1/Makefile

index 0d62226..d201cc1 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.18 2022/06/19 17:05:31 tb Exp $
+#      $OpenBSD: Makefile,v 1.19 2022/06/28 08:41:17 beck Exp $
 
 PROGS = \
        asn1api \
@@ -16,6 +16,7 @@ PROGS = \
 DPADD+=                ${LIBCRYPTO}
 WARNINGS=      Yes
 LDFLAGS+=      -lcrypto
+LDADD= ${CRYPTO_INT}
 CFLAGS+=       -DLIBRESSL_INTERNAL
 CFLAGS+=       -Wall -Wundef -Werror
 CFLAGS+=       -I${.CURDIR}/../../../../lib/libcrypto/asn1