git: 0421d8bdef00 - stable/13 - Move _p.a profiling archives under MK_INSTALLLIB
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 01:30:16 UTC
The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=0421d8bdef00c710a38cb11547a91c8fde2c5c8c commit 0421d8bdef00c710a38cb11547a91c8fde2c5c8c Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-12-02 15:27:12 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-12-11 01:28:57 +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 (cherry picked from commit fc073e6743a989c9d0b8f619ce0f903271c0db2e) --- 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 bbeaee82883b..d4819615d50c 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -468,11 +468,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}.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} \