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

Add CGO flags for building on MacOS

    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 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

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

            Dates

              Created:
              Updated:
              Resolved: