ncurses-meson-dep

Meson ncurses detection 100% real no fake
git clone git://git.sgregoratto.me/ncurses-meson-dep
Log | Files | Refs | README

commit 50d25c77438b820ed3d6b09af369eb428890fe53
parent 5bf28a9a7887377daea455645a0a53ce378f0f45
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Fri,  4 Sep 2020 15:20:38 +1000

Fix find_program

Diffstat:
Mncurses/meson.build | 4++--
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()