Fix emsdk to see tools as being not active if their config variables are not present at all in the generated .emscripten config file.

This commit is contained in:
Jukka Jylänki
2016-10-11 12:44:22 +03:00
parent 7558e114b3
commit 1dbfc85f16

2
emsdk
View File

@@ -1070,7 +1070,7 @@ class Tool:
# print('activated cfg ' + key + ', value: ' + value)
# if dot_emscripten.has_key(key):
# print('dot_emscripten ' + dot_emscripten[key])
if key in dot_emscripten and dot_emscripten[key] != value:
if not key in dot_emscripten or dot_emscripten[key] != value:
return False
return True