From 48a719033ee6f1626a8878f66a43ee939dad4c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Mileti=C4=87?= Date: Thu, 7 Nov 2019 21:37:40 +0100 Subject: [PATCH] docs: Mention error LNK1181, linking for MSVC [skip ci] Make FAQ entry about linking failing on Windows with MSVC more easily discoverable by including keywords LNK1181 and linking. --- docs/markdown/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md index 45255e911c21..e43c857fee9f 100644 --- a/docs/markdown/FAQ.md +++ b/docs/markdown/FAQ.md @@ -187,7 +187,7 @@ file instead of being buried inside your build definitions. An example can be found [here](https://github.com/jpakkane/meson/tree/master/test%20cases/linuxlike/3%20linker%20script). -## My project works fine on Linux and MinGW but fails with MSVC due to a missing .lib file +## My project works fine on Linux and MinGW but fails to link with MSVC due to a missing .lib file (fatal error LNK1181). Why? With GCC, all symbols on shared libraries are exported automatically unless you specify otherwise. With MSVC no symbols are exported by