Use == instead of is operator for checking string equality in AMBuild scripts (bug 6043, r=dvander).

This commit is contained in:
Scott Ehlert
2014-02-09 22:50:20 -06:00
parent 8476832dc2
commit e00e879af5
16 changed files with 47 additions and 49 deletions
+1 -3
View File
@@ -14,10 +14,8 @@ binary.compiler.includes += [
os.path.join(builder.sourcePath, 'knight', 'shared'),
]
if builder.target_platform is 'linux':
if builder.target_platform == 'linux':
binary.compiler.postlink += ['-lpthread', '-lrt']
elif builder.target_platform is 'darwin':
binary.compiler.postlink += ['-lpthread', '-ldl']
binary.sources += [
'BaseRuntime.cpp',