Browse Source

[waf] Adapt path layout to current version, fixes optimization for config_parser.rl

personal/stbuehler/wip
Thomas Porzelt 13 years ago
parent
commit
279b9b2217
  1. 2
      ragel.py

2
ragel.py

@ -10,7 +10,7 @@ def rageltaskfun(task):
env = task.env
ragelbin = env.get_flat('RAGEL')
if ragelbin:
if task.inputs[0].srcpath(env) == '../src/config_parser.rl':
if task.inputs[0].srcpath(env) == '../src/main/config_parser.rl':
cmd = '%s -o %s -C -T0 %s' % (ragelbin, task.outputs[0].bldpath(env), task.inputs[0].srcpath(env))
else:
cmd = '%s -o %s -C -T1 %s' % (ragelbin, task.outputs[0].bldpath(env), task.inputs[0].srcpath(env))

Loading…
Cancel
Save