commit: 126b9931af386e5fe185f281595bf2da0156201c
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 19:45:00 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 19:45:00 2020 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=126b9931
bin/misc-functions: also resolve Frameworks from macOS SDK
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
bin/misc-functions.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 8f62cb7f1..c75c478ee 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -372,8 +372,10 @@ install_qa_check_macho() {
# by looking at the SDK metacaches,
TAPI-files, .tbd
# text versions of libraries, so just
look there
local tbd=${lib%.*}.tbd
- if [[ -e ${EROOT}/MacOSX.sdk/${tbd} ]]
; then
+ if [[ -e
${EROOT}/MacOSX.sdk/${lib%.*}.tbd ]] ; then
isok=yes # it's in the SDK, so
ok
+ elif [[ -e
${EROOT}/MacOSX.sdk/${lib}.tbd ]] ; then
+ isok=yes # this happens in
case of Framework refs
fi
fi
if [[ ${isok} == no ]] ; then