Write the positive case first

This commit is contained in:
Jack Nagel 2014-04-21 00:17:22 -05:00
parent de9ce56414
commit 815e7f29fc

View File

@ -87,10 +87,10 @@ class Cmd
end
if sdkroot
if tool != 'ld'
args << "--sysroot=#{sdkroot}"
else
if tool == "ld"
args << "-syslibroot" << sdkroot
else
args << "--sysroot=#{sdkroot}"
end
end