libbson should link ws2_32 if win32 instead of if not unix

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 1.10.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      in the CMakeLists.txt file for libbson, ws2_32 is linked it the build is NOT UNIX, but it probably should be it is WIN32, as it is in the cdriver proper.

      https://github.com/mongodb/mongo-c-driver/blob/master/src/libbson/CMakeLists.txt#L235

      https://github.com/mongodb/mongo-c-driver/blob/master/CMakeLists.txt#L671

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: