From: Peter Korsgaard Date: Wed, 25 Apr 2012 13:59:07 +0000 (+0200) Subject: berkeleydb: build with C++ support if enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a68921a0925bdee5f721fe97350db2bfc9bab8f;p=buildroot.git berkeleydb: build with C++ support if enabled Signed-off-by: Peter Korsgaard --- diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index 396ba16913..bb3fd5dfd9 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -22,7 +22,7 @@ define BERKELEYDB_CONFIGURE_CMDS --exec-prefix=/usr \ --sysconfdir=/etc \ --with-gnu-ld \ - --disable-cxx \ + $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx,--disable-cxx) \ --disable-java \ --disable-tcl \ --disable-compat185 \