-rw-r--r-- | scripts/lxdialog/Makefile | 6 |
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 | |||
16 | endif | 16 | endif |
17 | endif | 17 | endif |
18 | 18 | ||
19 | ifeq ($(filter clean mrproper distclean,$(MAKECMDGOALS)),) | ||
20 | ifeq ($(filter -DCURSES_LOC%,$(HOST_EXTRACFLAGS)),) | ||
21 | $(error Unable to locate ncurses.h or curses.h) | ||
22 | endif | ||
23 | endif | ||
24 | |||
19 | host-progs:= lxdialog | 25 | host-progs:= lxdialog |
20 | always := $(host-progs) | 26 | always := $(host-progs) |
21 | 27 | ||