Index: build/vs_toolchain.py |
diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py |
index 735827e94316f4125b42d41ed389719955050612..44c30171377d3045721b928faa3db6d0f55588a7 100644 |
--- a/build/vs_toolchain.py |
+++ b/build/vs_toolchain.py |
@@ -172,7 +172,7 @@ wdk_dir = "%s" |
os.environ['GYP_MSVS_OVERRIDE_PATH'], |
os.environ['WINDOWSSDKDIR'], |
os.environ['GYP_MSVS_VERSION'], |
- os.environ['WDK_DIR']) |
+ os.environ.get('WDK_DIR', '')) |
def main(): |