From 21433b837a5a6dc0f5d7c2e973947307fdcb1dee Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 29 Jul 2023 06:46:20 +0000 Subject: [PATCH] Move HAVE_FUNOPEN out of !NOPIC Due to some historic accident, HAVE_FUNOPEN was grouped with DSO_DLFCN and HAVE_DLFCN_H inside !defined(NOPIC). While the two DLFCN bits belong there, HAVE_FUNOPEN doesn't. ok jsing, millert agrees --- lib/libcrypto/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index 390eb06b901..c882c1a9dd0 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.152 2023/07/28 11:08:01 jsing Exp $ +# $OpenBSD: Makefile,v 1.153 2023/07/29 06:46:20 tb Exp $ LIB= crypto LIBREBUILD=y @@ -22,11 +22,7 @@ CFLAGS+= -DLIBRESSL_INTERNAL .ifdef NAMESPACE CFLAGS+= -DLIBRESSL_NAMESPACE -DLIBRESSL_CRYPTO_NAMESPACE .endif - - -.if !defined(NOPIC) CFLAGS+= -DHAVE_FUNOPEN -.endif CFLAGS+= -I${LCRYPTO_SRC} CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU} -- 2.20.1