aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/os')
-rw-r--r--Library/Homebrew/os/mac/mach.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb
index 71f501fe9..416183f68 100644
--- a/Library/Homebrew/os/mac/mach.rb
+++ b/Library/Homebrew/os/mac/mach.rb
@@ -1,10 +1,11 @@
-require "macho"
require "os/mac/architecture_list"
module MachOShim
# @private
def macho
@macho ||= begin
+ require "macho"
+
MachO.open(to_s)
end
end
@@ -12,6 +13,8 @@ module MachOShim
# @private
def mach_data
@mach_data ||= begin
+ require "macho"
+
machos = []
mach_data = []