From nobody Sat Dec 04 21:33:31 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 742CF1892D6D; Sat, 4 Dec 2021 21:33:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J62xS1bh3z3mN9; Sat, 4 Dec 2021 21:33:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 16C843D42; Sat, 4 Dec 2021 21:33:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B4LXVah039781; Sat, 4 Dec 2021 21:33:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B4LXVTJ039780; Sat, 4 Dec 2021 21:33:31 GMT (envelope-from git) Date: Sat, 4 Dec 2021 21:33:31 GMT Message-Id: <202112042133.1B4LXVTJ039780@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: fc073e6743a9 - main - Move _p.a profiling archives under MK_INSTALLLIB List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fc073e6743a989c9d0b8f619ce0f903271c0db2e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638653612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jUVutmUEjTpdxX2uNpFlZlnQWALms01msBIdSUuNxeE=; b=ZMSemHtMZ5PvKnWrOf5bYDin66wf4tuMl77r75tZTTFXd+CxKI12Yv8IZsJUqeblpKV1W7 IQP7aWcR1aYltFSOZcvTb8k3y4GF8mbwHvBe7tkcNwg54Ri3bBcPKFzQx3HoHcT1LzKtq3 5auyC9sGhF3x6M/O09kHPHu1p8NqPTre3iiny2dVzxwERP9xVVy05GS539JT7N/NZV389n eu4oXEorpJWlkQW8sBwiKJ0NRhcm/6k9VH+pAYkwb6BxatjG9AD89xoiTfaN8bsASUU8v4 cpD8kPuuULew10Qll+QwWpzvIpMjtgtnJzwQWMx5P/exL5yosYjDbR4FhxQamQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638653612; a=rsa-sha256; cv=none; b=KtKsFciUwac24Px75MhU0BuBvK12DAwXTYRquRo9IbLvXZ1uAOuxj36QFfqtjCwtkKwRYo hVdHkc8MR2hF9NeQq4cGOLeiAh39fU7NJUnrmSPfS2zPsICWSrHXvPFZtabZyJASgQjx+s YXJE3VGJs0aJET1wu0TqRwICG5b7qT+rs9zHYPYL9+/YgoTp1A53bvRNkIXzg9TF2l1lIc cx3kwQ4XwsbiiS+9aLMZX/czGx/i4wYFEoL1cRkrGJFeLPAw9UXR08vEYSurK2t1INQE6N st5CzawNUr1UPl0axqwmlNuh+lRAc9XqluwrKc+lvp36kJi9snQRJIcNi0BS9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=fc073e6743a989c9d0b8f619ce0f903271c0db2e commit fc073e6743a989c9d0b8f619ce0f903271c0db2e Author: Ed Maste AuthorDate: 2021-12-02 15:27:12 +0000 Commit: Ed Maste 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} \