diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-01-20 17:07:21 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-01-20 17:07:21 +0000 |
| commit | 8e1c85f03260ff9d214fcd99c7ad1a848e3ac23b (patch) | |
| tree | 42a8981eb14b8ff9b41209de45ed4823a08da1a8 | |
| parent | eced166af01565fb1d6278a8918e844ebc4412a6 (diff) | |
OptionalObsoleteFiles.inc: Treat compat runtime loaders as libraries
Binaries require the runtime loader to use shared libraries, and
removing the runtime loader in `make delete-old` while leaving the
libraries around makes it impossible to use those shared libraries.
Treat rtld as a de facto dependency of shared libraries to ensure it
is not removed until the corresponding shared libraries are removed.
Differential Revision: https://reviews.freebsd.org/D52210
| -rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 6d8472dc8e83..1cf8b44eaca3 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -3833,7 +3833,7 @@ OLD_DIRS+=usr/share/moused .for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats} . if ${MK_LIB${LIBCOMPAT}} == no OLD_FILES+=etc/mtree/BSD.lib${libcompat}.dist -OLD_FILES+=libexec/ld-elf${libcompat}.so.1 +OLD_LIBS+=libexec/ld-elf${libcompat}.so.1 . if exists(${DESTDIR}/usr/lib${libcompat}) LIB${LIBCOMPAT}_DIRS!=find ${DESTDIR}/usr/lib${libcompat} -type d \ | sed -e 's,^${DESTDIR}/,,'; echo |
