aboutsummaryrefslogtreecommitdiffstats
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
commit7756529b80ee7a3ee4f350b17fce167e90409beb (patch)
tree0ebd4ee6799fd35fdf1c1db90535424f44385c7c
parent3948c077c972f684c0257129d02c17aacea08452 (diff)
downloadupstream-7756529b80ee7a3ee4f350b17fce167e90409beb.tar.gz
upstream-7756529b80ee7a3ee4f350b17fce167e90409beb.tar.bz2
upstream-7756529b80ee7a3ee4f350b17fce167e90409beb.zip
ncurses: build C++ bindings only our toolchain supports C++
SVN-Revision: 33909
-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