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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.8.2
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: