mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
83691981e3
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.
88 lines
1.7 KiB
Plaintext
88 lines
1.7 KiB
Plaintext
OpenSSL
|
|
-------
|
|
|
|
HOST=i686-w64-mingw32
|
|
./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw
|
|
|
|
HOST=x86_64-w64-mingw32
|
|
./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw64
|
|
|
|
GMP
|
|
---
|
|
|
|
HOST=i686-w64-mingw32
|
|
./configure \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--prefix=/usr/local/$HOST \
|
|
--host=$HOST \
|
|
--disable-cxx \
|
|
--enable-fat \
|
|
CFLAGS="-mtune=generic -O2 -g0"
|
|
|
|
HOST=x86_64-w64-mingw32
|
|
The configure command-line is the same as i686 version.
|
|
|
|
Sqlite
|
|
------
|
|
|
|
HOST=i686-w64-mingw32
|
|
./configure \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--prefix=/usr/local/$HOST \
|
|
--host=$HOST \
|
|
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
|
|
|
|
HOST=x86_64-w64-mingw32
|
|
The configure command-line is the same as i686 version.
|
|
|
|
C-Ares
|
|
------
|
|
|
|
HOST=i686-w64-mingw32
|
|
./configure \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--without-random \
|
|
--prefix=/usr/local/$HOST \
|
|
--host=$HOST \
|
|
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
|
|
LIBS="-lws2_32"
|
|
|
|
HOST=x86_64-w64-mingw32
|
|
The configure command-line is the same as i686 version.
|
|
|
|
Zlib
|
|
----
|
|
|
|
HOST=i686-w64-mingw32
|
|
|
|
CC=$HOST-gcc \
|
|
AR=$HOST-ar \
|
|
LD=$HOST-ld \
|
|
RANLIB=$HOST-ranlib \
|
|
STRIP=$HOST-strip \
|
|
./configure \
|
|
--prefix=/usr/local/$HOST \
|
|
--libdir=/usr/local/$HOST/lib \
|
|
--includedir=/usr/local/$HOST/include \
|
|
--static
|
|
|
|
HOST=x86_64-w64-mingw32
|
|
The configure command-line is the same as i686 version.
|
|
|
|
Expat
|
|
-----
|
|
|
|
HOST=i686-w64-mingw32
|
|
./configure \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--prefix=/usr/local/$HOST \
|
|
--host=$HOST \
|
|
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
|
|
|
|
HOST=x86_64-w64-mingw32
|
|
The configure command-line is the same as i686 version.
|