From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5932E158095 for ; Wed, 27 Jul 2022 08:18:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A964E110A; Wed, 27 Jul 2022 08:18:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46AABE110A for ; Wed, 27 Jul 2022 08:18:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 582FB34103F for ; Wed, 27 Jul 2022 08:18:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0F9B52C for ; Wed, 27 Jul 2022 08:18:07 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1658909866.eb382e8b07e20ef7b9b8d287ca5c3946a5c3c0c5.grobian@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/80libraries X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: eb382e8b07e20ef7b9b8d287ca5c3946a5c3c0c5 X-VCS-Branch: master Date: Wed, 27 Jul 2022 08:18:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8e0ca4bd-9d64-4a28-b1a5-1966858bd434 X-Archives-Hash: 955193c43f3486241f2852537d4c7adf commit: eb382e8b07e20ef7b9b8d287ca5c3946a5c3c0c5 Author: Fabian Groffen gentoo org> AuthorDate: Tue Jul 26 18:41:41 2022 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Jul 27 08:17:46 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=eb382e8b bin/install-qa-check.d/80libraries: support Darwin/Mach-O objects Check for dylib on Darwin, so on everything else. Signed-off-by: Fabian Groffen gentoo.org> bin/install-qa-check.d/80libraries | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/install-qa-check.d/80libraries b/bin/install-qa-check.d/80libraries index 8dc35bb87..81c926982 100644 --- a/bin/install-qa-check.d/80libraries +++ b/bin/install-qa-check.d/80libraries @@ -140,7 +140,11 @@ lib_check() { local abort="no" local a s for a in "${ED%/}"/usr/lib*/*.a ; do - s=${a%.a}.so + if [[ ${CHOST} == *-darwin* ]] ; then + s=${a%.a}.dylib + else + s=${a%.a}.so + fi if [[ ! -e ${s} ]] ; then s=${s%usr/*}${s##*/usr/} if [[ -e ${s} ]] ; then