SERVER-139279ClosedFixed

Propagate standalone SpiderMonkey API declarations

Add JS_STANDALONE=1 to the public defines for mozjs in src/third_party/mozjs/BUILD.bazel, alongside STATIC_JS_API=1. SpiderMonkey's MFBT headers require both settings to declare static-library APIs correctly; without JS_STANDALONE, Windows consumers declare DLL imports. The definition matches the existing generated standalone configuration on every supported platform. Extracted from #66298 for review by query-integration-features. Based directly on master and independent of the other team fixes

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-rc1026
Components
Server components related to this issue
Bazel
Labels
Tags and classification

No labels assigned.