Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1342

Comment by HolyBlackCat on c++ standard libraries linking

$
0
0
-static linker flag should work. But it's a better idea to distribute the dlls next to your executable, so the user can update them if needed. Also there are some libraries (not the standard ones) that are licensed under LGPL, and statically linking those would require you to make your app opensource, so static is not always convenient.

Viewing all articles
Browse latest Browse all 1342

Trending Articles