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

Add CGO flags for building on Windows

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

      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.

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

              Created:
              Updated:
              Resolved: