aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-25 09:16:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-25 09:16:03 +0000
commitc1952691e18a0df237380f7f4466162d7b82622e (patch)
treec003abb157a7017f9b58965a5babb4079e150c9d /scripts
parent610a796c529369fb9edb6df320146aa94862d851 (diff)
downloadupstream-c1952691e18a0df237380f7f4466162d7b82622e.tar.gz
upstream-c1952691e18a0df237380f7f4466162d7b82622e.tar.bz2
upstream-c1952691e18a0df237380f7f4466162d7b82622e.zip
[scripts] do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17394 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config/lxdialog/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile
index 3758637ccf..74ee942cd6 100644
--- a/scripts/config/lxdialog/Makefile
+++ b/scripts/config/lxdialog/Makefile
@@ -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