Updated toolchain.lua.

This commit is contained in:
Branimir Karadžić
2016-06-07 09:20:25 -07:00
parent bf8158f04e
commit 7b8bf8a1c6

View File

@@ -122,7 +122,7 @@ function toolchain(_buildDir, _libDir)
tvosPlatform = _OPTIONS["with-tvos"]
end
if _ACTION == "gmake" then
if _ACTION == "gmake" or _ACTION == "ninja" then
if nil == _OPTIONS["gcc"] then
print("GCC flavor must be specified!")