aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/lxdialog/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-10 10:08:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-10 10:08:47 +0000
commit2d495c3e5fcb65ed0e72ae92c6aeb3f06d53d59e (patch)
tree306540e4c58093b8a8e79626e0bc57ef2f570759 /scripts/config/lxdialog/Makefile
parentc73ea5d9b2bf12985d33dc7cf4ab9a3f1c353a22 (diff)
downloadupstream-2d495c3e5fcb65ed0e72ae92c6aeb3f06d53d59e.tar.gz
upstream-2d495c3e5fcb65ed0e72ae92c6aeb3f06d53d59e.tar.bz2
upstream-2d495c3e5fcb65ed0e72ae92c6aeb3f06d53d59e.zip
[scripts] cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15183 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/lxdialog/Makefile')
-rw-r--r--scripts/config/lxdialog/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile
index aed08e0170..3758637ccf 100644
--- a/scripts/config/lxdialog/Makefile
+++ b/scripts/config/lxdialog/Makefile
@@ -13,8 +13,9 @@ OS := $(shell uname -s)
ifeq ($(strip $(OS)),OpenBSD)
LIBS := -lncurses
endif
-
-
+ifeq ($(strip $(OS)),CYGWIN_NT-5.1)
+LIBS := -lncurses
+endif
always := $(hostprogs-y) dochecklxdialog
%.o: %.c