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

Distribute pkg-config files for dynamic and static linking

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: packaging
    • None

      To compile and link against the static libraries for libbson and libmongoc, it is necessary to set certain preprocesor definitions, and link to differently named libraries. Distribute separate pkg-config files that provide these flags.

      (Note: the pkg-config --static option sounds like it should do this, but it serves a different purpose.)

      Distribute:

      • libbson-1.0.pc
      • libbson-static-1.0.pc
      • libmongoc-1.0.pc
      • libmongoc-static-1.0.pc
      • libmongoc-ssl-1.0.pc

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: