• Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: