diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-12-14 23:10:01 (GMT) |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-12-14 23:21:09 (GMT) |
commit | e7e5dd883a8dc379bc425ec2f4df3128f1ae15f4 (patch) | |
tree | f61ae54103453d545c623636b383cd41d6ba58ef /programs | |
parent | 4c9431e9af596af0556e5da0ae99305bafb2b10b (diff) | |
download | lz4-e7e5dd883a8dc379bc425ec2f4df3128f1ae15f4.zip lz4-e7e5dd883a8dc379bc425ec2f4df3128f1ae15f4.tar.gz lz4-e7e5dd883a8dc379bc425ec2f4df3128f1ae15f4.tar.bz2 |
meson: simplify version lookup and avoid deprecation warnings
run_command() in development versions of meson will warn when the
`check: ` kwarg is not specified. At the same time, lz4 has some gnarly
code to manually check the return code and raise an error if it failed.
Kill two birds with one stone, by making run_command inherently raise a
fatal error when erroring out, then proceeding in the knowledge that it
must have succeeded.
Diffstat (limited to 'programs')
0 files changed, 0 insertions, 0 deletions