From: beck Date: Tue, 9 Jul 2024 07:39:21 +0000 (+0000) Subject: Enable namespaced builds by default for libssl and libcrypto. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0becb4658c6f3b6a2b969c91257171d46551383f;p=openbsd Enable namespaced builds by default for libssl and libcrypto. Some further refinements will happen to the build process to automatically generate the Symbols.namespace file, and to remove our last public unhidden symbol (which was a mistake, but waits for a major bump to get removed) But for now everything should be using this. ok tb@ --- diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index 7b926db11cb..460fd43333f 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.196 2024/06/24 06:43:22 tb Exp $ +# $OpenBSD: Makefile,v 1.197 2024/07/09 07:39:21 beck Exp $ LIB= crypto LIBREBUILD=y @@ -19,9 +19,9 @@ CFLAGS+= -Wall -Wundef CFLAGS+= -Werror -Wshadow .endif CFLAGS+= -DLIBRESSL_INTERNAL -.ifdef NAMESPACE + CFLAGS+= -DLIBRESSL_NAMESPACE -DLIBRESSL_CRYPTO_NAMESPACE -.endif + CFLAGS+= -DHAVE_FUNOPEN CFLAGS+= -I${LCRYPTO_SRC}