From: Florian Fainelli Date: Wed, 24 Oct 2012 13:05:15 +0000 (+0000) Subject: ncurses: build C++ bindings only our toolchain supports C++ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7756529b80ee7a3ee4f350b17fce167e90409beb;p=openwrt%2Fstaging%2Fwigyori.git ncurses: build C++ bindings only our toolchain supports C++ SVN-Revision: 33909 --- 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