Fix apple static libs check

This commit is contained in:
Jason Rhinelander 2022-04-15 14:32:06 -03:00
parent 1cf48a28c3
commit 0638aea2fb
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ anybad=
for bin in oxend oxen-{wallet-{cli,rpc},gen-trusted-multisig,blockchain-{ancestry,depth,export,import,mark-spent-outputs,stats,usage}}; do
bad=
if [ "$DRONE_STAGE_OS" == "darwin" ]; then
if otool -L bin/$bin | grep -Ev '^bin/'$bin':|^\t(/usr/lib/libSystem\.|/usr/lib/libc\+\+\.|/System/Library/Frameworks/(CoreFoundation|IOKit|Security))'; then
if otool -L bin/$bin | grep -Ev '^bin/'$bin':|^\t(/usr/lib/libSystem\.|/usr/lib/libc\+\+\.|/System/Library/Frameworks/(AppKit|CoreFoundation|IOKit|SystemConfiguration))'; then
bad=1
fi
elif [ "$DRONE_STAGE_OS" == "linux" ]; then