From 25d76626c197490ee88c5ef55a88a613c06012ce Mon Sep 17 00:00:00 2001 From: Esfomeado Date: Fri, 21 Apr 2017 10:08:04 +0100 Subject: [PATCH] More detailed instructions to build on Windows --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d52846f..9cde2f45 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,18 @@ make ### Windows It's complicated, you need [MSYS2](http://www.msys2.org/), custom libcurl build, and of course CMake too. + +Necessary MSYS2 packages: +``` +pacman -Sy +pacman -S mingw-w64-x86_64-gcc +pacman -S make +pacman -S mingw-w64-x86_64-cmake +pacman -S mingw-w64-x86_64-pkg-config +``` Configure options for libcurl: ``` -./configure --disable-shared --enable-optimize --enable-threaded-resolver --disable-libcurl-option --disable-ares --disable-rt --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-ipv6 --disable-sspi --disable-crypto-auth --disable-ntlm-wb --disable-tls-srp --disable-unix-sockets --without-zlib --without-winssl --without-ssl --without-libssh2 --without-nghttp2 --disable-cookies --without-ca-bundle +./configure --disable-shared --enable-optimize --enable-threaded-resolver --disable-libcurl-option --disable-ares --disable-rt --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-ipv6 --disable-sspi --disable-crypto-auth --disable-ntlm-wb --disable-tls-srp --disable-unix-sockets --without-zlib --without-winssl --without-ssl --without-libssh2 --without-nghttp2 --disable-cookies --without-ca-bundle --without-librtmp ``` CMake options: ```