Browse Source

Fixed issue #149.

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

+ 1 - 1
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