← Back to team overview

linuxdcpp-contributors team mailing list archive

Re: [Question #180170]: SConstruct invalid syntax

 

Question #180170 on LinuxDC++ changed:
https://answers.launchpad.net/linuxdcpp/+question/180170

    Status: Open => Answered

Razzloss proposed the following answer:
Because of the ancient Python version that is included in centos? I
assume it's 2.4.

It'll probably work if you change the line to
if env.get('debug'):
   env['mode'] = 'debug'
else:
   env['mode'] = 'release'

Or just 
env['mode'] = 'debug' 
or 'release', depending which build you're making.


--RZ

-- 
You received this question notification because you are a member of
LinuxDC++ Contributors, which is an answer contact for LinuxDC++.