Only asn1time needs to be static for now.
authortb <tb@openbsd.org>
Tue, 28 Jun 2022 08:44:26 +0000 (08:44 +0000)
committertb <tb@openbsd.org>
Tue, 28 Jun 2022 08:44:26 +0000 (08:44 +0000)
regress/lib/libcrypto/asn1/Makefile

index d201cc1..a92ca39 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.19 2022/06/28 08:41:17 beck Exp $
+#      $OpenBSD: Makefile,v 1.20 2022/06/28 08:44:26 tb Exp $
 
 PROGS = \
        asn1api \
@@ -16,7 +16,6 @@ PROGS = \
 DPADD+=                ${LIBCRYPTO}
 WARNINGS=      Yes
 LDFLAGS+=      -lcrypto
-LDADD= ${CRYPTO_INT}
 CFLAGS+=       -DLIBRESSL_INTERNAL
 CFLAGS+=       -Wall -Wundef -Werror
 CFLAGS+=       -I${.CURDIR}/../../../../lib/libcrypto/asn1
@@ -24,6 +23,9 @@ CFLAGS+=      -I${.CURDIR}/../../../../lib/libcrypto/bytestring
 
 LDADD_asn1basic = ${CRYPTO_INT}
 
+# XXX needs to be static until symbols are exposed
+LDADD_asn1time = ${CRYPTO_INT}
+
 .for p in ${PROGS}
 REGRESS_TARGETS +=     run-$p