diff --git a/bindings/python/wscript b/bindings/python/wscript index 794334f7d..7b3181b98 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -484,7 +484,8 @@ def build(bld): bindgen = bld.new_task_gen('command', source=source, target=target, command=argv, variables=dict(FEATURES=(','.join(features)))) - + bindgen.before = 'cxx' + bindgen.after = 'gen_everything_h_task' ## we build python bindings if either we have the tools to ## generate them or if the pregenerated source file is already