mirror of https://github.com/aria2/aria2
Add libssh2 to mingw build config
parent
ee12923122
commit
381533e32d
|
@ -17,6 +17,7 @@ necessary. The linked libraries are:
|
||||||
* sqlite 3.8.8.2
|
* sqlite 3.8.8.2
|
||||||
* zlib 1.2.8
|
* zlib 1.2.8
|
||||||
* c-ares 1.10.0 with the dns.patch [1] applied
|
* c-ares 1.10.0 with the dns.patch [1] applied
|
||||||
|
* libssh2 1.5.0
|
||||||
|
|
||||||
[1] http://c-ares.haxx.se/mail/c-ares-archive-2014-05/0008.shtml
|
[1] http://c-ares.haxx.se/mail/c-ares-archive-2014-05/0008.shtml
|
||||||
|
|
||||||
|
|
|
@ -309,6 +309,7 @@ following libraries have been built for cross-compile:
|
||||||
* expat
|
* expat
|
||||||
* sqlite3
|
* sqlite3
|
||||||
* zlib
|
* zlib
|
||||||
|
* libssh2
|
||||||
* cppunit
|
* cppunit
|
||||||
|
|
||||||
Some environment variables can be adjusted to change build settings:
|
Some environment variables can be adjusted to change build settings:
|
||||||
|
|
|
@ -53,6 +53,23 @@ HOST=i686-w64-mingw32
|
||||||
HOST=x86_64-w64-mingw32
|
HOST=x86_64-w64-mingw32
|
||||||
The configure command-line is the same as i686 version.
|
The configure command-line is the same as i686 version.
|
||||||
|
|
||||||
|
libssh2
|
||||||
|
-------
|
||||||
|
|
||||||
|
HOST=i686-w64-mingw32
|
||||||
|
./configure \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--prefix=/usr/local/$HOST \
|
||||||
|
--host=$HOST \
|
||||||
|
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
|
||||||
|
--without-openssl \
|
||||||
|
--with-wincng \
|
||||||
|
LIBS="-lws2_32"
|
||||||
|
|
||||||
|
HOST=x86_64-w64-mingw32
|
||||||
|
The configure command-line is the same as i686 version.
|
||||||
|
|
||||||
Zlib
|
Zlib
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
# * expat
|
# * expat
|
||||||
# * sqlite3
|
# * sqlite3
|
||||||
# * zlib
|
# * zlib
|
||||||
|
# * libssh2
|
||||||
# * cppunit
|
# * cppunit
|
||||||
|
|
||||||
test -z "$HOST" && HOST=i686-w64-mingw32
|
test -z "$HOST" && HOST=i686-w64-mingw32
|
||||||
|
@ -70,6 +71,7 @@ test -z "$PREFIX" && PREFIX=/usr/local/$HOST
|
||||||
--with-libexpat \
|
--with-libexpat \
|
||||||
--with-libz \
|
--with-libz \
|
||||||
--with-libgmp \
|
--with-libgmp \
|
||||||
|
--with-libssh2 \
|
||||||
--without-libgcrypt \
|
--without-libgcrypt \
|
||||||
--without-libnettle \
|
--without-libnettle \
|
||||||
--with-cppunit-prefix=$PREFIX \
|
--with-cppunit-prefix=$PREFIX \
|
||||||
|
|
Loading…
Reference in New Issue