Skip to content

Commit

Permalink
docs: Mention error LNK1181, linking for MSVC [skip ci]
Browse files Browse the repository at this point in the history
Make FAQ entry about linking failing on Windows with MSVC more easily discoverable by including keywords LNK1181 and linking.
  • Loading branch information
vedranmiletic authored and jpakkane committed Nov 7, 2019
1 parent 7a76fec commit 48a7190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/markdown/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48a7190

Please sign in to comment.