I need to do something like this to get the branch compiled:
Index: SConstruct
===================================================================
--- SConstruct (revision 1673)
+++ SConstruct (working copy)
@@ -215,7 +215,10 @@
for pkg in pkgs:
name2 = pkg.replace("+","").replace(".","").replace("-","").upper()
- env['%s_FLAGS' % name2] = conf.GetPKGFlags( pkg, pkgs[pkg] )
+ env['%s_FLAGS' % name2] = " " + conf.GetPKGFlags( pkg, pkgs[pkg] ).strip() + " "
+ print '%s_FLAGS' % name2
+ print env['%s_FLAGS' % name2]
+ env.Append(CPPFLAGS = env['%s_FLAGS' % name2])
if env['%s_FLAGS'%name2] == 0:
allpresent &= 0
If I understand it correctly the problem is that "env['%s_FLAGS' % name2]" doesn't work for my system. Somehow all those _FLAGS should be merge into CFLAGS or whatever.