Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2167

Add CGO flags for building on Windows

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.1.7, 3.6.11, 3.4.20, 4.0.7
    • None

    Description

      In the v4.0 server branch, I noticed that the enterprise Windows build variant set the following environment variable: CGO_CFLAGS="-D_WIN32_WINNT=0x0601 -DNTDDI_VERSION=0x06010000"

      We don't set that in the tools repo builds, nor it it set in the server's non-enterprise build variant. We need to understand if this is necessary and under what circumstances.

      Attachments

        Activity

          People

            david.golden@mongodb.com David Golden
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: