Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-61

Default C++ client driver builds to build a shared library (.so, .dylib, or .dll as needed)

    XMLWordPrintableJSON

Details

    Description

      The static libmongoclient library is not useable at all on windows (see CXX-59), and requires special handling on ELF targets (via --whole-archive). There are probably similar issues on Darwin (though maybe not: see -all_load vs -noall_load).

      Currently the build system defaults to building the static library, and only builds the shared library when requested. We should reverse this, and always build the shared library, and only enable the static library when explicitly requested.

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: