SERVER-139041ClosedFixed

Select platform-specific SASL linker options

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=

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
Bazel
Labels
Tags and classification

No labels assigned.