On Sat, Jun 03, 2006 at 01:03:54AM +0200, Steinar H. Gunderson wrote:

> Downgrading to scons in stable seems to fix the problem, so this sounds very
> much like a scons bug to me.

Changing Add_define in bysys/libscim.py to append a list rather than a
string appears to resolve the build failure.  Patch below.

I'm trying to remember if this is a deliberate thing or a bug: I seem to
remember the former and do note that the examples in the manual tend to
add spaces as one would expect given this being deliberate (eg, in
the "Appending to End Values in a Construction Environment" section).

--- bksys/libscim.py.orig       2006-06-03 10:35:47.000000000 +0100
+++ bksys/libscim.py    2006-06-03 10:36:02.000000000 +0100
@@ -68,7 +68,7 @@
 
        def Add_define(env, name):
                if env.has_key(name):
-                               env.AppendUnique(CCFLAGS = '-D' + name + '=\\"' 
+ env[name] + '\\"' )
+                               env.AppendUnique(CCFLAGS = ['-D' + name + 
'=\\"' + env[name] + '\\"'] )
                return
 
        # these are our options

>                              Cc-ing [EMAIL PROTECTED]

I have no idea how that reached me but it did...  Should be [EMAIL PROTECTED]

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to