summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Scanner/Prog.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-09-18 15:24:28 (GMT)
committerSteven Knight <knight@baldmt.com>2004-09-18 15:24:28 (GMT)
commit2ecff9e4a918f9af6e8271ebc51099c6c5357f3f (patch)
treee8031ab585e343e66317ff005a9064f0bc48cb88 /src/engine/SCons/Scanner/Prog.py
parentdda1f7bcb8bac0d5dc29d0148f28805d5f205a8f (diff)
downloadSCons-2ecff9e4a918f9af6e8271ebc51099c6c5357f3f.zip
SCons-2ecff9e4a918f9af6e8271ebc51099c6c5357f3f.tar.gz
SCons-2ecff9e4a918f9af6e8271ebc51099c6c5357f3f.tar.bz2
Allow LIBS to contain lists of lists.
Diffstat (limited to 'src/engine/SCons/Scanner/Prog.py')
-rw-r--r--src/engine/SCons/Scanner/Prog.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Scanner/Prog.py b/src/engine/SCons/Scanner/Prog.py
index 6efb44a..78b7233 100644
--- a/src/engine/SCons/Scanner/Prog.py
+++ b/src/engine/SCons/Scanner/Prog.py
@@ -52,7 +52,9 @@ def scan(node, env, libpath = (), fs = SCons.Node.FS.default_fs):
return []
if SCons.Util.is_String(libs):
libs = string.split(libs)
- elif not SCons.Util.is_List(libs):
+ elif SCons.Util.is_List(libs):
+ libs = SCons.Util.flatten(libs)
+ else:
libs = [libs]
try: