summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/berkeleydb/berkeleydb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index 396ba1691..bb3fd5dfd 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 \