Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2971

pkg-config dependencies should use pkg-config names

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

      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@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: