mirror of https://github.com/oxen-io/oxen-core.git
Fix macos no-dynamic-libs check
This commit is contained in:
parent
f60d722e4d
commit
06a7148515
|
@ -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
|
for bin in oxend oxen-{wallet-{cli,rpc},gen-trusted-multisig,blockchain-{ancestry,depth,export,import,mark-spent-outputs,stats,usage}}; do
|
||||||
bad=
|
bad=
|
||||||
if [ "$DRONE_STAGE_OS" == "darwin" ]; then
|
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
|
bad=1
|
||||||
fi
|
fi
|
||||||
elif [ "$DRONE_STAGE_OS" == "linux" ]; then
|
elif [ "$DRONE_STAGE_OS" == "linux" ]; then
|
||||||
|
|
Loading…
Reference in New Issue