[scripts] do not check for a specific Cygwin version, rather check the operating...
[openwrt-10.03/.git] / scripts / config / lxdialog / Makefile
index aed08e0170e987e00ce73c655fa92a0634a28f9f..74ee942cd680efef564e8b21430af2355f312857 100644 (file)
@@ -12,9 +12,9 @@ LIBS := $(shell sh check-lxdialog.sh -ldflags gcc)
 OS := $(shell uname -s)
 ifeq ($(strip $(OS)),OpenBSD)
 LIBS := -lncurses
+ifeq ($(shell uname -o),Cygwin)
+LIBS := -lncurses
 endif
-
-
 always         := $(hostprogs-y) dochecklxdialog
 
 %.o: %.c