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

Add CGO flags for building on Windows

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.7, 3.6.11, 3.4.20, 4.0.7
    • Component/s: None
    • Labels:

      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

            Assignee:
            david.golden David Golden
            Reporter:
            david.golden David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: