Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-646

Allow libbson to live in the same parent directory as libmongoc

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • TBD
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      For the HHVM driver I need both libbson and libmongoc, and my source code is organised like:

      .
      ├── libbson
      ├── libmongoc
      ├── src
      │   └── MongoDB
      └── tests
      

      However, when you run autogen.sh for libmongoc - it insists on pulling in its own libbson submodule clone in libmongoc/src/libbson.

      ./configure has an option " --with-libbson=[auto/system/bundled]", which I would like to see extended to either of:

      • a specific directory, so I can have libbson wherever I want
      • "parent" as an option (or "sibling", or whatever name you come up with), to allow for libbson to live in the same directory as libmongoc does as per above directory tree.

            Assignee:
            backlog-c-driver [DO NOT USE] Backlog - C Driver Team
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: