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

libbson should link ws2_32 if win32 instead of if not unix

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 1.10.0
    • None
    • Build
    • None

    Description

      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

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: