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
|
# Xcode.prefix is pretty smart, so lets look inside to find the sdk
|
||||||
opts << "#{Xcode.prefix}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX#{v}.sdk"
|
opts << "#{Xcode.prefix}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX#{v}.sdk"
|
||||||
# Xcode < 4.3 style
|
# 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? }
|
opts.map{|a| Pathname.new(a) }.detect { |p| p.directory? }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user