summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/berkeleydb/berkeleydb.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index 30fc5182ec..e5c11bddcf 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -40,6 +40,7 @@ define BERKELEYDB_CONFIGURE_CMDS
$(SHARED_STATIC_LIBS_OPTS) \
--with-pic \
--enable-o_direct \
+ $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-mutexsupport,--disable-mutexsupport) \
)
endef
OpenPOWER on IntegriCloud