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

Directory structure does not allow for bundled distribution

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: