mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix typo in MacOS.sdk_path
/cc @adamv Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
896ccc45f4
commit
ffd6e7f340
@ -74,7 +74,7 @@ module MacOS extend self
|
||||
# Xcode.prefix is pretty smart, so lets look inside to find the sdk
|
||||
opts << "#{Xcode.prefix}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX#{v}.sdk"
|
||||
# Xcode < 4.3 style
|
||||
opts << "/Developer/SDKs/MacOS#{v}.sdk"
|
||||
opts << "/Developer/SDKs/MacOSX#{v}.sdk"
|
||||
opts.map{|a| Pathname.new(a) }.detect { |p| p.directory? }
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user