diff options
author | Adam Duskett <Aduskett@gmail.com> | 2020-02-24 06:29:26 -0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-02-25 20:16:44 -0500 |
commit | f66b04b0996eae5cd7b0ad007435d5a51f28b691 (patch) | |
tree | a04b97197330d08bba68310acedf2e8d459eef41 /run_unittests.py | |
parent | 36b573822a0eb3384628d87663530b7e9ace8301 (diff) | |
download | meson-f66b04b0996eae5cd7b0ad007435d5a51f28b691.zip meson-f66b04b0996eae5cd7b0ad007435d5a51f28b691.tar.gz meson-f66b04b0996eae5cd7b0ad007435d5a51f28b691.tar.bz2 |
gobject-introspection: determine g-ir-scanner and g-ir-compiler paths from pkgconfig
Currently, meson hard codes the paths of these binaries which results in
cross-compiled environments to run the host versions of these tools.
However, GObject-introspection provides the appropriate paths to these
utilities via pkg-config
find_program is needed in the case g-i is built as a subproject. If
g-ir-scanner or g-ir-compiler are in the build or source directory use those.
If they aren't found in the source directory, use the results from pkg-config.
Diffstat (limited to 'run_unittests.py')
0 files changed, 0 insertions, 0 deletions