Do not propagate BUILD_VERSION to C driver when using MONGOCRYPT_MONGOC_DIR

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 1.10.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Configuring libmongocrypt with BUILD_VERSION and MONGOCRYPT_MONGOC_DIR incorrectly propagates the BUILD_VERSION of libmongocrypt to the C driver.

      As a result, updating the C driver's compile-libmongocrypt.sh script to use libmongocrypt 1.10.1 resulted in this error:

      /Users/kevin.albertson/review/mongo-c-driver-1656/libmongocrypt/src/mongocrypt-buffer.c:24:2: error: "libbson 1.16.0 or newer is required."
      #error "libbson 1.16.0 or newer is required."
      

              Assignee:
              Kevin Albertson
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: