aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/mach.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-12-04 08:46:23 +0000
committerGitHub2017-12-04 08:46:23 +0000
commit4f5e938a5dbe049e05dea19495b6547acc5c5b5b (patch)
treefec9016d552cd9290ef89dfdac5523822b3bce9c /Library/Homebrew/os/mac/mach.rb
parent0ad42ebbcb735422612a7c6d4edc5ad88044dd4b (diff)
parentd79c5ade1abaad0fb1ea88f2b949def8dcfddb81 (diff)
downloadbrew-1.3.9.tar.bz2
Merge pull request #3517 from sjackman/linkage1.3.9
Implement linkage for Linux
Diffstat (limited to 'Library/Homebrew/os/mac/mach.rb')
-rw-r--r--Library/Homebrew/os/mac/mach.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb
index 9b53c4979..958618869 100644
--- a/Library/Homebrew/os/mac/mach.rb
+++ b/Library/Homebrew/os/mac/mach.rb
@@ -103,6 +103,8 @@ module MachOShim
mach_data.any? { |m| m.fetch(:type) == :executable }
end
+ alias binary_executable? mach_o_executable?
+
# @private
def mach_o_bundle?
mach_data.any? { |m| m.fetch(:type) == :bundle }