brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

CctoolsMachO#dynamically_linked_libraries

Returns an array containing all dynamically-linked libraries, based on the
output of otool. This returns the install names, so these are not guaranteed
to be absolute paths.
Returns an empty array both for software that links against no libraries,
and for non-mach objects.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/os/mac/cctools_mach.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-CctoolsMachO-dynamically_linked_libraries-for-pr


# Commit to git

git add Library/Homebrew/os/mac/cctools_mach.rbgit commit -m "better docs for CctoolsMachO#dynamically_linked_libraries"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-CctoolsMachO-dynamically_linked_libraries-for-pr

hub pull-request


# Celebrate!