git: fc073e6743a9 - main - Move _p.a profiling archives under MK_INSTALLLIB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Dec 2021 21:33:31 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=fc073e6743a989c9d0b8f619ce0f903271c0db2e commit fc073e6743a989c9d0b8f619ce0f903271c0db2e Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-12-02 15:27:12 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-12-04 21:32:26 +0000 Move _p.a profiling archives under MK_INSTALLLIB _p.a are just a special case of .a archives, and should not be installed if WITHOUT_INSTALLLIB is set. MFC after: 1 week Sponsored by: The FreeBSD Foundation --- share/mk/bsd.lib.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 10262e6bb80c..28c159689e71 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -481,11 +481,11 @@ _libinstall: .if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},dev} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${_INSTALLFLAGS} lib${LIB_PRIVATE}${LIB}${_STATICLIB_SUFFIX}.a ${DESTDIR}${_LIBDIR}/ -.endif -.if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) +.if ${MK_PROFILE} != "no" ${INSTALL} ${TAG_ARGS:D${TAG_ARGS},dev} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${_INSTALLFLAGS} lib${LIB_PRIVATE}${LIB}_p.a ${DESTDIR}${_LIBDIR}/ .endif +.endif .if defined(SHLIB_NAME) ${INSTALL} ${TAG_ARGS} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \