summaryrefslogtreecommitdiff
path: root/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2024-07-10 13:30:15 +0000
committerBob Beck <beck@cvs.openbsd.org>2024-07-10 13:30:15 +0000
commit11eb7c14caf9312466b0faefb0ca0d264a927281 (patch)
tree94cf93d37905f796df9af5c936d36f4554515314 /lib/libcrypto/Makefile
parent5fe31c6d1a53f917b73151a49bf48a630288c789 (diff)
Remove the static symbols.namespace, and just generate the _libre_
symbols from symbols.list now that we have everything hidden ok tb@
Diffstat (limited to 'lib/libcrypto/Makefile')
-rw-r--r--lib/libcrypto/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile
index 96a0f197cb0..ef26b0c5f5d 100644
--- a/lib/libcrypto/Makefile
+++ b/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.199 2024/07/09 16:41:44 tb Exp $
+# $OpenBSD: Makefile,v 1.200 2024/07/10 13:30:14 beck Exp $
LIB= crypto
LIBREBUILD=y
@@ -53,7 +53,6 @@ CFLAGS+= -I${LCRYPTO_SRC}/x509
VERSION_SCRIPT= Symbols.map
SYMBOL_LIST= ${.CURDIR}/Symbols.list
-SYMBOL_NAMESPACE= ${.CURDIR}/Symbols.namespace
.if (${MACHINE_CPU} == "amd64") || (${MACHINE_CPU} == "i386")
SYMBOL_LIST+= ${.CURDIR}/arch/${MACHINE_CPU}/Symbols.list
@@ -746,9 +745,9 @@ includes: prereq
echo $$j; \
eval "$$j"; \
done;
-${VERSION_SCRIPT}: ${SYMBOL_LIST} ${SYMBOL_NAMESPACE}
+${VERSION_SCRIPT}: ${SYMBOL_LIST}
{ printf '{\n\tglobal:\n'; \
- sed '/^[._a-zA-Z]/s/$$/;/; s/^/ /' ${SYMBOL_NAMESPACE}; \
+ sed '/^[._a-zA-Z]/s/$$/;/; s/^/ _libre_/' ${SYMBOL_LIST}; \
sed '/^[._a-zA-Z]/s/$$/;/; s/^/ /' ${SYMBOL_LIST}; \
printf '\n\tlocal:\n\t\t*;\n};\n'; } >$@.tmp && mv $@.tmp $@