[scripts] do not check for a specific Cygwin version, rather check the operating...
authorFlorian Fainelli <florian@openwrt.org>
Tue, 25 Aug 2009 09:16:03 +0000 (09:16 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 25 Aug 2009 09:16:03 +0000 (09:16 +0000)
SVN-Revision: 17394

scripts/config/lxdialog/Makefile

index 3758637..74ee942 100644 (file)
@@ -12,8 +12,7 @@ LIBS := $(shell sh check-lxdialog.sh -ldflags gcc)
 OS := $(shell uname -s)
 ifeq ($(strip $(OS)),OpenBSD)
 LIBS := -lncurses
-endif
-ifeq ($(strip $(OS)),CYGWIN_NT-5.1)
+ifeq ($(shell uname -o),Cygwin)
 LIBS := -lncurses
 endif
 always         := $(hostprogs-y) dochecklxdialog