aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2024-09-26 15:00:54 +0530
committerDylan Baker <dylan@pnwbakers.com>2024-09-30 10:17:41 -0700
commitfb4995a2c607b8289ae97a3faa5917f2887da294 (patch)
tree73dd2dae3a905a0d967f8ffd264dce331e988c3b /docs/markdown/snippets
parent9294c81fc134515a7b7d06ed538b66f45993b59d (diff)
downloadmeson-fb4995a2c607b8289ae97a3faa5917f2887da294.zip
meson-fb4995a2c607b8289ae97a3faa5917f2887da294.tar.gz
meson-fb4995a2c607b8289ae97a3faa5917f2887da294.tar.bz2
programs: Store the project version when overriding find_program
When we're using the output of configure_file() with override_find_program(), we weren't storing the version anywhere, so get_version() was trying to run the script during setup. This is usually fine, except in cases where the configure_file() script actually has to import a library built as part of the project, and fails to run. For built executables, we simply use the project version, and we now do the same here too.
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions