summaryrefslogtreecommitdiff
path: root/package/libs/ncurses/Makefile
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 /package/libs/ncurses/Makefile
parent3948c077c972f684c0257129d02c17aacea08452 (diff)
downloadmtk-20170518-7756529b80ee7a3ee4f350b17fce167e90409beb.zip
mtk-20170518-7756529b80ee7a3ee4f350b17fce167e90409beb.tar.gz
mtk-20170518-7756529b80ee7a3ee4f350b17fce167e90409beb.tar.bz2
ncurses: build C++ bindings only our toolchain supports C++
SVN-Revision: 33909
Diffstat (limited to 'package/libs/ncurses/Makefile')
-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 0b88ab6..465b60c 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