Uploaded image for project: 'MongoDB CLI Tools'
  1. MongoDB CLI Tools
  2. TOOLS-2168

Add CGO flags for building on MacOS

    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 server evergreen.yml files, we historically had CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include CGO_CFLAGS=-mmacosx-version-min=10.11 CGO_LDFLAGS=-mmacosx-version-min=10.11'.

      The include path should be unnecessary now that the go-openssl wrapper supports pkg-config, plus we no longer use OpenSSL. However, the minimum version flags might still be relevant to add to Go environment configuration.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: