ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1025
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Build OnDeck
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Select platform-specific linker options for cyrus_sasl_client in src/mongo/client/BUILD.bazel. Windows uses secur32.lib and sasl2.lib; other platforms retain -lsasl2. This removes the unconditional Unix-style SASL linker option from Windows links.

      Extracted from #66298 for review by server-networking-and-observability. Based directly on master and independent of the other team fixes; merge before #66298.

      Validation: bazel build //src/mongo/client:cyrus_sasl_client_with_debug --use_sasl_client=True passed on Linux ARM64. The standalone Windows cross build stopped during analysis because the Linux execution toolchain inherited compiler_type=msvc, which is addressed in #66298. Native Windows linking remains to be validated. bazel run format passed.

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: