]> git.sesse.net Git - plocate/commitdiff
Fix a Meson warning.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 15 Oct 2022 13:46:03 +0000 (15:46 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 15 Oct 2022 13:46:03 +0000 (15:46 +0200)
meson.build

index 329adcb4d257a685dde5e18259431b7467867dee..faf42b16ac48118fc6264a4c2b2e2629cf18c576 100644 (file)
@@ -98,7 +98,7 @@ endif
 # of calling into that directory to run make, and we're not
 # replicating their build system, so it has to be manual.
 pfordir = meson.source_root() + '/TurboPFor-Integer-Compression'
-if run_command('[', '-r', pfordir + '/libic.a', ']').returncode() == 0
+if run_command('[', '-r', pfordir + '/libic.a', ']', check: false).returncode() == 0
        turbopfordep = declare_dependency(
                include_directories: include_directories('TurboPFor-Integer-Compression'),
                dependencies: meson.get_compiler('cpp').find_library('ic', dirs: pfordir))