opts.Add( BoolOption('final', 'Build final (optimized) build', False) )
opts.Update(env)
- print env.subst('$LOGLEVELS')
-
if env.subst('$LOGLEVELS'):
env.Append( expandLogOption=expandLogOption )
env.Append( CPPDEFINES = { 'SENF_LOG_CONF': '$expandLogOption' } )
env.Default(
env.AlwaysBuild(
- env.Command('senf/libsenf.a', [], [ 'scons -C senf $SENF_BUILDOPTS libsenf.a' ])))
+ env.Command('senf/libsenf.a', [], [ 'scons -C %s $SENF_BUILDOPTS libsenf.a' % os.path.realpath('senf')])))
else:
print '\nUsing global SENF\n'