Skip to content

Instantly share code, notes, and snippets.

@prabindh
Created March 30, 2021 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prabindh/09be429c3f5d69f7103fbf67737e0c6f to your computer and use it in GitHub Desktop.
Save prabindh/09be429c3f5d69f7103fbf67737e0c6f to your computer and use it in GitHub Desktop.
Building C++ application with static libcurl
//Building C++ application with static build of libcurl:
/*
1. In the project, C++ preprocessor to be defined - "CURL_STATICLIB"
2. CURL itself should be built with:
- static option
- SSL static
- IPV6 static
- SSPI static
Lack of static SSL will cause runtime errors due to not finding libeay32.dll etc
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment