git: 6aac8c390466 - stable/13 - Allow downstream projects to easily add private and internal libs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Mar 2022 21:57:25 UTC
The branch stable/13 has been updated by vangyzen: URL: https://cgit.FreeBSD.org/src/commit/?id=6aac8c390466e90413f537a0be36fff700536004 commit 6aac8c390466e90413f537a0be36fff700536004 Author: Eric van Gyzen <vangyzen@FreeBSD.org> AuthorDate: 2022-01-14 14:12:57 +0000 Commit: Eric van Gyzen <vangyzen@FreeBSD.org> CommitDate: 2022-03-02 21:56:30 +0000 Allow downstream projects to easily add private and internal libs Allow projects based on the FreeBSD tree to append to _PRIVATELIBS and _INTERNALLIBS by simply maintaining their own lists of LOCAL_PRIVATELIBS and LOCAL_INTERNALLIBS, respectively. Reviewed by: bdrewery MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D33901 (cherry picked from commit d7f944a0460531cfb3ec9ae7d4bfd9dc29481ab8) --- share/mk/src.libnames.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index abaacc591604..111a7070e91d 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -34,6 +34,10 @@ _PRIVATELIBS= \ unbound \ zstd +# Let projects based on FreeBSD append to _PRIVATELIBS +# by maintaining their own LOCAL_PRIVATELIBS list. +_PRIVATELIBS+= ${LOCAL_PRIVATELIBS} + _INTERNALLIBS= \ amu \ bsnmptools \ @@ -77,6 +81,10 @@ _INTERNALLIBS= \ wpautils \ wpawps +# Let projects based on FreeBSD append to _INTERNALLIBS +# by maintaining their own LOCAL_INTERNALLIBS list. +_INTERNALLIBS+= ${LOCAL_INTERNALLIBS} + _LIBRARIES= \ ${_PRIVATELIBS} \ ${_INTERNALLIBS} \