Distribute pkg-config files for dynamic and static linking

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: packaging
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              A. Jesse Jiryu Davis
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: