@@ -17,6 +17,7 @@ necessary. The linked libraries are:
* sqlite 3.8.8.2
* zlib 1.2.8
* 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
@@ -309,6 +309,7 @@ following libraries have been built for cross-compile:
* expat
* sqlite3
* zlib
+* libssh2
* cppunit
Some environment variables can be adjusted to change build settings:
@@ -53,6 +53,23 @@ HOST=i686-w64-mingw32
HOST=x86_64-w64-mingw32
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
----
@@ -52,6 +52,7 @@
# * expat
# * sqlite3
# * zlib
+# * libssh2
# * cppunit
test -z "$HOST" && HOST=i686-w64-mingw32
@@ -70,6 +71,7 @@ test -z "$PREFIX" && PREFIX=/usr/local/$HOST
--with-libexpat \
--with-libz \
--with-libgmp \
+ --with-libssh2 \
--without-libgcrypt \
--without-libnettle \
--with-cppunit-prefix=$PREFIX \