diff --git a/site_scons/site_tools/rednose_filter.py b/site_scons/site_tools/rednose_filter.py index b3fee62..1a26a3b 100644 --- a/site_scons/site_tools/rednose_filter.py +++ b/site_scons/site_tools/rednose_filter.py @@ -9,7 +9,7 @@ def compile_single_filter(env, target, filter_gen_script, output_dir, extra_gen_ generator_file = File(filter_gen_script) env.Command(generated_src_files + extra_generated_files, - [generator_file] + script_deps, f"{generator_file.get_abspath()} {target} {Dir(output_dir).get_abspath()}") + [generator_file] + script_deps, f"{File(generator_file).relpath} {target} {Dir(output_dir).relpath}") generated_cc_file = File(generated_src_files[:1])