summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 3d47c375044..8e2873424be 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -787,8 +787,8 @@ def build(bld):
REPLACE_HOSTCC_SOURCE = ''
- for filename, functions in REPLACEMENT_FUNCTIONS.iteritems():
- for function in functions:
+ for filename in REPLACEMENT_FUNCTIONS.keys():
+ for function in REPLACEMENT_FUNCTIONS[filename]:
if not bld.CONFIG_SET('HAVE_%s' % function.upper()):
REPLACE_HOSTCC_SOURCE += ' %s' % filename
break