Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meson: Do not emit absolute path when S != B (#2461)
* meson: Do not emit absolute path when S != B build systems like OE build outside sourcetree in such cases it works ok but cython resolves the input file to absolute path and that gets emitted into genetate _blueman.c as module name, renders the build non-reproducible, wish cython had a better way to handle this but there is not, therefore tweak the meson build rule to account for specifying workdir to cython which will search the inputs correctly, and use meson's build_root to emit the output into build dir. This ensures that it becomes independent of source or build directories and cython does not generate the absolute paths into generate C code. See cython discussion on [1] [1] cython/cython#5949 Signed-off-by: Khem Raj <[email protected]> * Fix usage of deprecated function --------- Signed-off-by: Khem Raj <[email protected]>
- Loading branch information