pkg-config dependencies should use pkg-config names

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 3.11.0, 3.10.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • C Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The 3.10.0 release added the ENABLE_ABI_TAG_IN_PKGCONFIG_FILENAMES CMake configuration variable and updated pkg-config file generation scripts accordingly, but did not account for the fact that pkg-config dependencies depend on the pkg-config filename, not the library name.

      The bsoncxx_name should be set to BSONCXX_OUTPUT_NAME (+ -static suffix as needed) when ENABLE_ABI_TAG_IN_PKGCONFIG_FILENAMES=OFF (the default).

            Assignee:
            Ezra Chung
            Reporter:
            Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: