diff options
author | Ross Burton <ross.burton@arm.com> | 2021-03-26 15:56:26 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-05-08 21:30:03 +0300 |
commit | 589236226856f591c9e8daf0cb7aa1aef8862388 (patch) | |
tree | e87f62636d7b7b6cdaa5ffe3c6a49303b0bb3c53 /mesonbuild/modules/python.py | |
parent | d5932a174d1504f1efea681e5ec3fd364de1ff6f (diff) | |
download | meson-589236226856f591c9e8daf0cb7aa1aef8862388.zip meson-589236226856f591c9e8daf0cb7aa1aef8862388.tar.gz meson-589236226856f591c9e8daf0cb7aa1aef8862388.tar.bz2 |
gnome: improve dependency lookup of G-I
Cross-compiling and generating gobject-introspection isn't trivial, but
with wrapper scripts that call qemu-user it's perfectly doable[1].
Currently looking up the gobject-introspection pkgconfig is done as a
native dependency, which means in cross-compilation environments this
is not the right paths (wrong library path, for example).
Solve this by generalisiing _get_native_dep() to _get_dep(native) and
asking for the host gobject-introspection instead.
[1] https://git.yoctoproject.org/cgit.cgi/poky/tree/meta/recipes-gnome/gobject-introspection/
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions