How to statically link libcurl on linux

Опубликовано: 27 Июль 2026
на канале: learnclang
3,637
17

Last but not least, and for completeness, we shall build libcurl on linux and link it statically against our own executable. As it's a posix system, we don't have to do much to get this to work.

You can find the latest state of the code shown in this example github: https://github.com/learnclang/current...

See how the cmake build system was originally set up in the first video of this mini-series:    • How to use an external library in a C-program