From: tb Date: Thu, 2 Jun 2022 11:48:36 +0000 (+0000) Subject: Only constraints and verify need static linking in here. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9f124c923e3d29d4b78231f69d2917ab6e78edc1;p=openbsd Only constraints and verify need static linking in here. --- diff --git a/regress/lib/libcrypto/x509/Makefile b/regress/lib/libcrypto/x509/Makefile index 9981858eb7c..1c87ca87faf 100644 --- a/regress/lib/libcrypto/x509/Makefile +++ b/regress/lib/libcrypto/x509/Makefile @@ -1,8 +1,12 @@ -# $OpenBSD: Makefile,v 1.10 2021/12/24 03:01:23 tb Exp $ +# $OpenBSD: Makefile,v 1.11 2022/06/02 11:48:36 tb Exp $ PROGS = constraints verify x509attribute x509name x509req_ext callback -LDADD= -Wl,-Bstatic -lcrypto -Wl,-Bdynamic -DPADD= ${LIBCRYPTO} +LDADD = -lcrypto +DPADD = ${LIBCRYPTO} + +LDADD_constraints = ${CRYPTO_INT} +LDADD_verify = ${CRYPTO_INT} + WARNINGS= Yes CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Werror -I$(BSDSRCDIR)/lib/libcrypto/x509 diff --git a/regress/lib/libcrypto/x509/rfc3779/Makefile b/regress/lib/libcrypto/x509/rfc3779/Makefile index b876f626d43..b0fc4dc6830 100644 --- a/regress/lib/libcrypto/x509/rfc3779/Makefile +++ b/regress/lib/libcrypto/x509/rfc3779/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.5 2022/01/07 17:17:02 tb Exp $ +# $OpenBSD: Makefile,v 1.6 2022/06/02 11:48:36 tb Exp $ .include "../../Makefile.inc" PROG= rfc3779 -LDADD= ${CRYPTO_INT} +LDADD= -lcrypto DPADD= ${LIBCRYPTO} WARNINGS= Yes CFLAGS+= -DLIBRESSL_CRYPTO_INTERNAL -DLIBRESSL_INTERNAL -Werror