Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Guest
Created on Apr 4, 2025

allow shared->shared and static->static dependencies

When enabling `BUILD_SHARED_AND_STATIC_LIBS`, I for one would appreciate the option to build shared libraries against shared MongoDB and BSON C libraries but still have the static libraries depend on static builds of those C libraries. As it is, the only way to achieve the latter is to enable `BUILD_SHARED_LIBS_WITH_STATIC_MONGOC`, which goes too far; could you please offer a middle ground? Thanks!