summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Util.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-03-12 21:53:24 (GMT)
committerSteven Knight <knight@baldmt.com>2002-03-12 21:53:24 (GMT)
commita441c8d1cc8bf1ed0817b4b1deb9ff2e912bb9f0 (patch)
tree5ee2cd288a5dc2d36b8ac73483d460fd0107302a /src/engine/SCons/Util.py
parent50ef9e4b3dbf4f1a345297d12ffe98679c50d9d1 (diff)
downloadSCons-a441c8d1cc8bf1ed0817b4b1deb9ff2e912bb9f0.zip
SCons-a441c8d1cc8bf1ed0817b4b1deb9ff2e912bb9f0.tar.gz
SCons-a441c8d1cc8bf1ed0817b4b1deb9ff2e912bb9f0.tar.bz2
Support whitespace separated CPPPATH, etc. (Task 49057). (Steve Leblanc)
Diffstat (limited to 'src/engine/SCons/Util.py')
-rw-r--r--src/engine/SCons/Util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py
index d7a0253..6806c31 100644
--- a/src/engine/SCons/Util.py
+++ b/src/engine/SCons/Util.py
@@ -241,7 +241,9 @@ class VarInterpolator:
def prepareSrc(self, dict):
src = dict[self.src]
- if not is_List(src):
+ if is_String(src):
+ src = string.split(src)
+ elif not is_List(src):
src = [ src ]
def prepare(x, dict=dict):