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.
This commit is contained in:
Vedran Miletić 2019-11-07 21:37:40 +01:00 committed by Jussi Pakkanen
parent 7a76fecdf7
commit 48a719033e
1 changed files with 1 additions and 1 deletions

View File

@ -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