summaryrefslogtreecommitdiff
path: root/src/engine/SCons/PathList.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/PathList.py')
-rw-r--r--src/engine/SCons/PathList.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/PathList.py b/src/engine/SCons/PathList.py
index 943e9adf..be645ca2 100644
--- a/src/engine/SCons/PathList.py
+++ b/src/engine/SCons/PathList.py
@@ -138,7 +138,8 @@ class _PathList:
value = string.join(map(str, value), '')
elif type == TYPE_OBJECT:
value = node_conv(value)
- result.append(value)
+ if value:
+ result.append(value)
return tuple(result)