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

"make install" installs private headers

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: Build, libmongoc
    • None

      libmongoc's "make install" copies two dozen private header files into the system include path, which encourages developers to depend on private, unstable API/ABI:

      https://github.com/mongodb/mongo-c-driver/blob/1.2.1/src/mongoc/Makefile.am#L19

      libmongoc should omit private headers from the installed files, like libbson does:

      https://github.com/mongodb/libbson/blob/1.2.1/src/bson/Makefile.am#L8

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: