commit ca9e0277cc3c93669a03d8f3e3189b513f3ffd5e
parent b458cbdaf712bcd78909f821b20fb355e3b738f7
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date: Fri, 4 Sep 2020 14:58:39 +1000
Fix find_program usage
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/ncurses/meson.build b/ncurses/meson.build
@@ -42,7 +42,12 @@ foreach l : nc_libs
endif
endforeach
foreach p : nc_progs
- prog = find_program(p, '/bin', '/usr/bin', '/usr/local/bin', required: false)
+ prog = find_program(p,
+ '/bin/' + p,
+ '/usr/bin/' + p,
+ '/usr/local/bin/' + p,
+ required: false
+ )
if not prog.found()
continue
endif