From aa1888a979e2febf35c5fc31e7070a606e38d930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 18 Apr 2017 19:45:58 -0700 Subject: [PATCH] Fixed issue #149. --- scripts/toolchain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 069d415..99a8b3f 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -179,7 +179,7 @@ function toolchain(_buildDir, _libDir) tvosPlatform = _OPTIONS["with-tvos"] end - local windowsPlatform = os.getenv("WindowsSDKVersion") or "8.1" + local windowsPlatform = string.gsub(os.getenv("WindowsSDKVersion") or "8.1", "\\", "") if _OPTIONS["with-windows"] then windowsPlatform = _OPTIONS["with-windows"] end