libmongoc should link to libm in pkg-config package

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • C Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Using common math functions from the C standard library causes linker issues with the libmongoc static library in pkg-config. We should add -lm to pkg_config_LIBS in CMake to resolve such linker issues.

            Assignee:
            Connor MacDonald
            Reporter:
            Connor MacDonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: