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.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/os/mac/cctools_mach.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-CctoolsMachO-dynamically_linked_libraries-for-pr
# Commit to gitgit add Library/Homebrew/os/mac/cctools_mach.rbgit commit -m "better docs for CctoolsMachO#dynamically_linked_libraries"
# Open pull requestgem 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!