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

Add zlib and snappy linker flags if needed in CMake and pkg-config files

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Our Autotools build system's approach to providing snappy and zlib on systems where they are not already installed, was to vendor their source files, then build the libraries and install them in system library paths along with libmongoc at build time. Eventually we shouldn't do this (CDRIVER-2363). Meanwhile, add linker flags to the installed CMake config files and pkg-config files so programs can automatically link to zlib and snappy when they link to libmongoc.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            bjori Hannes Magnusson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: