diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-04-27 00:27:52 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-04-27 00:57:40 -0400 |
commit | 0881b78bbabb5aab59b2abedf41b05d46c3f6e4d (patch) | |
tree | f6bd95e748c21aa5c0d1fb8963eea2aa2772ba4a /girepository/meson.build | |
parent | 137952c03abd2acd454b834d8cc7ae10915c8aa0 (diff) | |
download | gobject-introspection-0881b78bbabb5aab59b2abedf41b05d46c3f6e4d.tar.gz |
Don't override finding executables when using pre-built tools.
Actually, we shouldn't really need this. We are building `native: false`
binaries so when we look up a `native: true` binary the override should
not apply. I've fixed this upstream in meson in
https://github.com/NixOS/nixpkgs/pull/86080, though some backwards
compatibility migration might be in order.
In the meantime, we can make `gi_cross_use_host_gi` prevent the
overrides from happening, which will achieve the desired behavior.
Finally, this allows us to use `find_program` in `scanner_command`,
unconditionally, letting the presence of the override dictate whether a
freshly-built or pre-built `g-ir-scanner` is used.
Diffstat (limited to 'girepository/meson.build')
0 files changed, 0 insertions, 0 deletions