From: florian Date: Tue, 25 Aug 2009 09:16:03 +0000 (+0000) Subject: [scripts] do not check for a specific Cygwin version, rather check the operating... X-Git-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/17d107163e5e1ec1b8cfc1b0027d497e2cf2bb7a?ds=sidebyside [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 --- diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile index 3758637cc..74ee942cd 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