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 \