"make install" installs private headers

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: Build, libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Hannes Magnusson (Inactive)
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: