mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-07-04 22:20:45 +03:00
[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
This commit is contained in:
parent
d51cb31e80
commit
17d107163e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user