summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-04-25 13:59:07 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-04-25 13:59:07 (GMT)
commit9a68921a0925bdee5f721fe97350db2bfc9bab8f (patch)
tree9afbf0549842ea481fcf5a707e52ec33ef78988f
parent25e08d501c338714e16d6a06c5c6278e86df1dc8 (diff)
downloadbuildroot-9a68921a0925bdee5f721fe97350db2bfc9bab8f.tar.gz
buildroot-9a68921a0925bdee5f721fe97350db2bfc9bab8f.tar.bz2
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 396ba16..bb3fd5d 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 \