summaryrefslogtreecommitdiff
path: root/mingw-config
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-04-15 23:02:45 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-04-15 23:02:45 +0900
commit83691981e3a2d93a35e8e80b80e1175891799082 (patch)
tree99261cf4e38898d55e6306a1203a420e62a5aa60 /mingw-config
parente4135ca669c94acbc1a8ad8ef673aaa4d9cfd993 (diff)
mingw32: Enable wintls and compile with GMP
By enabling wintls, we can use Windows certificate store to validate server's certificate. Previously, we built windows build using openssl and since we don't bundle CA certificates, aria2 fails to validate server's certificate unless user setups their CA certificates. GMP provides fast big integer calculations, whic is used in BitTorrent encryption.
Diffstat (limited to 'mingw-config')
-rwxr-xr-xmingw-config6
1 files changed, 4 insertions, 2 deletions
diff --git a/mingw-config b/mingw-config
index d6f1129e..21469177 100755
--- a/mingw-config
+++ b/mingw-config
@@ -48,7 +48,7 @@
# In this configuration, the following dependent libraries are used:
#
# * c-ares
-# * openssl
+# * gmp
# * expat
# * sqlite3
# * zlib
@@ -63,12 +63,14 @@ test -z "$PREFIX" && PREFIX=/usr/local/$HOST
--without-included-gettext \
--disable-nls \
--with-libcares \
+ --with-wintls \
--without-gnutls \
- --with-openssl \
+ --without-openssl \
--with-sqlite3 \
--without-libxml2 \
--with-libexpat \
--with-libz \
+ --with-libgmp \
--without-libgcrypt \
--without-libnettle \
--with-cppunit-prefix=$PREFIX \