Fix macos no-dynamic-libs check

This commit is contained in:
Jason Rhinelander 2022-11-30 21:42:05 -04:00
parent f60d722e4d
commit 06a7148515
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/lib(System|c\+\+|objc)\.|/System/Library/Frameworks/(AppKit|CoreFoundation|IOKit|SystemConfiguration))'; then
if otool -L bin/$bin | grep -Ev '^bin/'$bin':|^\s*(/usr/lib/lib(System|c\+\+|objc)\.|/System/Library/Frameworks/(AppKit|CoreFoundation|IOKit|SystemConfiguration))'; then
bad=1
fi
elif [ "$DRONE_STAGE_OS" == "linux" ]; then