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

Distribute pkg-config files for dynamic and static linking

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.0
    • None
    • packaging
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: