Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dressel <code@deadcode.eu>2022-02-09 17:35:09 +0300
committerMatthias Dressel <code@deadcode.eu>2022-02-09 17:35:09 +0300
commit94b1bf456e9062a2f966453b1daea3fd6a9e03cc (patch)
treec2161f1d5d061a5cf4a0f0fc740bc508e2c6e212 /meson.build
parent2131a2cdaf5d14495ff7f26c0f40232cacdfa561 (diff)
meson: Use native check of return value
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 1 insertions, 5 deletions
diff --git a/meson.build b/meson.build
index 0e63d3b..7b9efb3 100644
--- a/meson.build
+++ b/meson.build
@@ -413,11 +413,7 @@ if is_asm_enabled and host_machine.cpu_family().startswith('x86')
# check NASM version
if nasm.found()
- nasm_r = run_command(nasm, '-v')
-
- if nasm_r.returncode() != 0
- error('failed running nasm to obtain its version')
- endif
+ nasm_r = run_command(nasm, '-v', check: true)
out = nasm_r.stdout().strip().split()
if out[1].to_lower() == 'version'