-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Background & Motivation
libmongocrypt depends on libbson. By default libmongocrypt statically links libbson.
libmongoc has an optional dependency on libmongocrypt.
This creates an awkward dependency. mongodb/mongo-c-driver repository contains the source for libbson and libmongoc.
In the C driver Evergreen, to build libmongoc with CSFLE support from source, the debug-compile-*-cse tasks do the following:
- Build libbson only.
- Build libmongocrypt using that built version of libbson.
- Build libmongoc using the built libmongocrypt.
Scope
Vendor libbson into a subdirectory in the libmongocrypt project.
- duplicates
-
MONGOCRYPT-444 Use mongo-c-driver as a subdirectory for obtaining libbson
- Closed