From 94cd26ed0a4aae8363cdd9289b7f4111ff6e4dc1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 21 Jul 2023 20:40:43 +0200 Subject: [PATCH] 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. --- docs/msw/install.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/msw/install.md b/docs/msw/install.md index 4b07a19018..fa63950f49 100644 --- a/docs/msw/install.md +++ b/docs/msw/install.md @@ -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`