Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Do not emit absolute path when S != B #2461

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 26, 2024

  1. 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 <raj.khem@gmail.com>
    kraj committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    4947abc View commit details
    Browse the repository at this point in the history