commit 50d25c77438b820ed3d6b09af369eb428890fe53
parent 5bf28a9a7887377daea455645a0a53ce378f0f45
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date: Fri, 4 Sep 2020 15:20:38 +1000
Fix find_program
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ncurses/meson.build b/ncurses/meson.build
@@ -48,10 +48,10 @@ foreach p : nc_progs
# subdir_done()
#endif
name = p + '-config'
- prog = find_program(name,
+ prog = find_program([name,
/ 'bin' / name,
/ 'usr' / 'bin' / name,
- / 'usr' / 'local' / 'bin' / name,
+ / 'usr' / 'local' / 'bin' / name],
required: false
)
if not prog.found()