summaryrefslogtreecommitdiff
path: root/package/libs/ncurses
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-24 13:05:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-24 13:05:15 +0000
commit0f6c57c56a38e7712a6b41abc11adec178da1d90 (patch)
treedc5260c80ce8cf0bddeb727171aa7ef74d4c9474 /package/libs/ncurses
parent3526d793a6ae45bcf7d2e8d10601472f05abc0fb (diff)
[package] ncurses: build C++ bindings only our toolchain supports C++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33909 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/ncurses')
-rw-r--r--package/libs/ncurses/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 0b88ab6feb..465b60cae1 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -67,6 +67,11 @@ CONFIGURE_ARGS += \
--with-terminfo-dirs=/usr/share/terminfo \
--with-default-terminfo-dir=/usr/share/terminfo
+ifneq ($(INSTALL_LIBSTDCPP),y)
+CONFIGURE_ARGS += \
+ --without-cxx-binding
+endif
+
ifeq ($(HOST_OS),FreeBSD)
CONFIGURE_ARGS +=
--with-terminfo=/usr/share/terminfo.db