Browse Source

Added MINGW warning.

Branimir Karadžić 8 years ago
parent
commit
aa6ce5a2e5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/toolchain.lua

+ 4 - 0
scripts/toolchain.lua

@@ -321,6 +321,10 @@ function toolchain(_buildDir, _libDir)
 			location (path.join(_buildDir, "projects", _ACTION .. "-linux-steamlink"))
 			location (path.join(_buildDir, "projects", _ACTION .. "-linux-steamlink"))
 
 
 		elseif "mingw-gcc" == _OPTIONS["gcc"] then
 		elseif "mingw-gcc" == _OPTIONS["gcc"] then
+			if not os.getenv("MINGW") then
+				print("Set MINGW enviroment variable.")
+			end
+
 			local mingwToolchain = "x86_64-w64-mingw32"
 			local mingwToolchain = "x86_64-w64-mingw32"
 			if compiler32bit then
 			if compiler32bit then
 				if os.is("linux") then
 				if os.is("linux") then