summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--scripts/lxdialog/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile
index b34bbc3..6d05cfd 100644
--- a/scripts/lxdialog/Makefile
+++ b/scripts/lxdialog/Makefile
@@ -16,6 +16,12 @@ endif
16endif 16endif
17endif 17endif
18 18
19ifeq ($(filter clean mrproper distclean,$(MAKECMDGOALS)),)
20ifeq ($(filter -DCURSES_LOC%,$(HOST_EXTRACFLAGS)),)
21$(error Unable to locate ncurses.h or curses.h)
22endif
23endif
24
19 host-progs:= lxdialog 25 host-progs:= lxdialog
20 always := $(host-progs) 26 always := $(host-progs)
21 27