diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-01-20 23:47:43 +0300 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-01-20 23:47:43 +0300 |
commit | 57ba3f00f5e9bb6ea2eff5124077508f7a3f40df (patch) | |
tree | 9f6fca88bba2bbc5b09ef4304cf18f7791027fbb /Makefile.inc1 | |
parent | c96dfb2156fa8a83dd225d1a9b31070123469288 (diff) |
Use MOVED_LIBS for libraries moved between /usr/lib and /lib.
Add a MOVED_LIBS variable similar to OLD_LIBS except that MOVED_LIBS
is used for the cases that a library's name doesn't change, but it
just moves between /usr/lib and /lib. This will be used by a future
change to auto-generate lib32 old files entries for which these cases
need to be ignored (a moved library remains in /usr/lib32).
Suggested by: emaste
Reviewed by: emaste
Sponsored by: The University of Cambridge, Google Inc.
Differential Revision: https://reviews.freebsd.org/D33848
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 9adc48b79c65..979e1a64efa4 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -3280,7 +3280,7 @@ check-old-files: .PHONY list-old-libs: .PHONY @cd ${.CURDIR}; \ ${MAKE} -f ${.CURDIR}/Makefile.inc1 ${.MAKEFLAGS} ${.TARGET} \ - -V OLD_LIBS | xargs -n1 | sort + -V OLD_LIBS -V MOVED_LIBS | xargs -n1 | sort delete-old-libs: .PHONY @echo ">>> Removing old libraries" |