aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-24 13:05:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-24 13:05:15 +0000
commita246bdf3c4b535e54b5d71313e297b6aea7ce19e (patch)
treedc5260c80ce8cf0bddeb727171aa7ef74d4c9474 /package/libs/ncurses
parent7734b310f83461e4ea7f53a5d38c32c606195d59 (diff)
downloadupstream-a246bdf3c4b535e54b5d71313e297b6aea7ce19e.tar.gz
upstream-a246bdf3c4b535e54b5d71313e297b6aea7ce19e.tar.bz2
upstream-a246bdf3c4b535e54b5d71313e297b6aea7ce19e.zip
[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