From 06a7148515e7904165edebafcb535d18489b855e Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Wed, 30 Nov 2022 21:42:05 -0400 Subject: [PATCH] Fix macos no-dynamic-libs check --- utils/build_scripts/drone-check-static-libs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build_scripts/drone-check-static-libs.sh b/utils/build_scripts/drone-check-static-libs.sh index 4d2e17ef5..4e37c9059 100755 --- a/utils/build_scripts/drone-check-static-libs.sh +++ b/utils/build_scripts/drone-check-static-libs.sh @@ -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