summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/aixlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/aixlink.py')
-rw-r--r--src/engine/SCons/Tool/aixlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/aixlink.py b/src/engine/SCons/Tool/aixlink.py
index bfddf0a..3117c55 100644
--- a/src/engine/SCons/Tool/aixlink.py
+++ b/src/engine/SCons/Tool/aixlink.py
@@ -65,7 +65,7 @@ def exists(env):
# TODO: sync with link.smart_link() to choose a linker
linkers = { 'CXX': ['aixc++'], 'CC': ['aixcc'] }
alltools = []
- for langvar, linktools in linkers.items():
+ for langvar, linktools in list(linkers.items()):
if langvar in env: # use CC over CXX when user specified CC but not CXX
return SCons.Tool.FindTool(linktools, env)
alltools.extend(linktools)