commit 017f0bf112bd0753ecdc187aa34d577ea65af2d9
parent f4fef87da567a7d3bc7a66ef993141ad418efaa5
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date: Fri, 4 Sep 2020 15:28:08 +1000
Actually error out if nothing was found
Also, fix last loop so it actually uses nc_libs.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ncurses/meson.build b/ncurses/meson.build
@@ -70,8 +70,10 @@ foreach p : nc_progs
subdir_done()
endforeach
foreach l : nc_libs
- curses = cc.find_library(p, required: false)
+ curses = cc.find_library(l, required: false)
if curses.found()
subdir_done()
endif
endforeach
+
+error('ncurses library not found')