summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-04-25 15:59:07 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-25 15:59:07 +0200
commit9a68921a0925bdee5f721fe97350db2bfc9bab8f (patch)
tree9afbf0549842ea481fcf5a707e52ec33ef78988f
parent25e08d501c338714e16d6a06c5c6278e86df1dc8 (diff)
berkeleydb: build with C++ support if enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 \