summaryrefslogtreecommitdiff
path: root/package/ncurses/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses/Makefile')
-rw-r--r--package/ncurses/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index c3997b060..9e9ddf9b5 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -43,12 +43,15 @@ INSTALL_STYLE= auto
ALL_TARGET:= libs
INSTALL_TARGET:= install.libs install.data
+ifeq (${ADK_HOST_CYGWIN},y)
+CONFOPT:= --with-shared
+endif
pre-configure:
(cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
./configure \
+ ${CONFOPT} \
--with-build-cc=${HOSTCC} \
- --with-shared \
--with-progs \
);
${MAKE} -C ${WRKBUILD}/include