Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-213

Directory structure does not allow for bundled distribution

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      For the PHP driver, we bundle libmongocrypt alongside libbson and libmongoc to allow compiling against latest bundled versions instead of (possibly outdated) system libraries.

      The directory structure doesn't allow for this though, as mongocrypt.h is included relatively:

      #include <mongocrypt/mongocrypt.h>
      

      Since mongocrypt.h is in stored in the src folder, the file can't be found.

      The directory structure should be adapted to a schema similar to libmongoc or the kms-message part of libmongocrypt, which has all its header files in a kms-message subdirectory.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: