1.下载地址https://github.com/curl/curl.git
2.编译libcurl
mingw32-make -f Makefile.m32
3.出错
process_begin: CreateProcess(NULL, rm -f libcurl.a, ...) failed.
make (e=2): 系统找不到指定的文件。
mingw32-make: *** [Makefile.m32:409: libcurl.a] Error 2
4.解码办法加上SHELL=cmd.exe
mingw32-make -f Makefile.m32 SHELL=cmd.exe