From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 10 Apr 2009 10:08:47 +0000 (+0000)
Subject: [scripts] cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/ebedc461f404656433bdeac40d46853439344e54

[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
---

diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile
index aed08e017..3758637cc 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