[scripts] do not check for a specific Cygwin version, rather check the operating...
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 25 Aug 2009 09:16:03 +0000 (09:16 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 25 Aug 2009 09:16:03 +0000 (09:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17394 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/config/lxdialog/Makefile

index 3758637ccf997e2477528e22108ed14336a6c1d8..74ee942cd680efef564e8b21430af2355f312857 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