Fix typo in MacOS.sdk_path

/cc @adamv

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-09-03 18:13:39 -05:00
parent 896ccc45f4
commit ffd6e7f340

View File

@ -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