do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI

SVN-Revision: 17394
This commit is contained in:
Florian Fainelli 2009-08-25 09:16:03 +00:00
parent 241242cf74
commit 32ab3b9692

View file

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