Module Name:    src
Committed By:   riastradh
Date:           Fri Nov  1 23:43:32 UTC 2024

Modified Files:
        src/crypto/external/bsd/heimdal: Makefile.rules.inc

Log Message:
heimdal: Use VERSION_MAP, not bespoke LDFLAGS.

Verified that the exported symbols list doesn't change on amd64 for
libasn1, libkadm5clnt, libkafs, and libsl, even though they don't
currently have a .expsym file committed (because the symbols list is
machine-dependent because they're not exporting a specific list of
symbols).

PR lib/58376: Missing DPADD for library version scripts


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/crypto/external/bsd/heimdal/Makefile.rules.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/heimdal/Makefile.rules.inc
diff -u src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.9 src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.10
--- src/crypto/external/bsd/heimdal/Makefile.rules.inc:1.9	Tue Mar 13 03:06:51 2018
+++ src/crypto/external/bsd/heimdal/Makefile.rules.inc	Fri Nov  1 23:43:32 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rules.inc,v 1.9 2018/03/13 03:06:51 mrg Exp $
+# $NetBSD: Makefile.rules.inc,v 1.10 2024/11/01 23:43:32 riastradh Exp $
 
 SRCS+= ${HEIMSRCS:N*.et:N*.in:N*.asn1}
 
@@ -104,5 +104,8 @@ OBJS.${PROG} += ${OBJS}
 .if defined(LIB) && exists(version-script.map) && !defined(NO_VERSION_SCRIPT)
 version-script.map:
 
-LDFLAGS.lib${LIB} += -Wl,--version-script=${version-script.map:P}
+# XXX For libkadm5clnt, this should be version-script-client.map --
+# requires major revbump, though; see PR lib/58795: libkadm5clnt.so is
+# built without symbol version map.
+VERSION_MAP=	version-script.map
 .endif

Reply via email to