Improve RUNTIME_LIBS build option documentation

State upfront that it only works with MSVC and also don't mention
msvcrt.dll not used any more since a couple of decades.

See #23715.
This commit is contained in:
Vadim Zeitlin 2023-07-21 20:40:43 +02:00
parent 8b83e45f0e
commit 94cd26ed0a

View file

@ -329,9 +329,10 @@ The full list of the build settings follows:
* `RUNTIME_LIBS=static`
Links static version of C and C++ runtime libraries into the executable, so
that the program does not depend on DLLs provided with the compiler (e.g.
Visual C++'s msvcrt.dll). Can be used only with MSVC.
(VC++ only.) Links static version of C and C++ runtime libraries into the
executable, so that the program does not depend on DLLs provided with the
compiler.
Caution: Do not use static runtime libraries when building DLL (SHARED=1)!
* `DEBUG_FLAG=0`