From aa6ce5a2e531ff6cac3584a4f2f1fac02a3061ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 7 Jun 2017 19:56:52 -0700 Subject: [PATCH] Added MINGW warning. --- scripts/toolchain.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 7cecee0..49d4747 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -321,6 +321,10 @@ function toolchain(_buildDir, _libDir) location (path.join(_buildDir, "projects", _ACTION .. "-linux-steamlink")) elseif "mingw-gcc" == _OPTIONS["gcc"] then + if not os.getenv("MINGW") then + print("Set MINGW enviroment variable.") + end + local mingwToolchain = "x86_64-w64-mingw32" if compiler32bit then if os.is("linux") then