Fix instructions for cross-compiling zlib.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 10 Mar 2014 09:53:50 +0000 (10:53 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 10 Mar 2014 09:53:50 +0000 (10:53 +0100)
examples/cross-compiling-64-bit-windows-binary.mdwn

index f35ab4c..b44c37f 100644 (file)
@@ -91,8 +91,8 @@ Cross-compiling Zlib is also easy, but a plain `make` failed to compile the
 tests, so we only build the static library here:
 
        cd $HOME/mingw64/zlib-1.2.7.dfsg
-       mingw64 ./configure
-       mingw64 make libz.a
+       mingw64 ./configure --static
+       mingw64 make
        DESTDIR=$HOME/mingw64 mingw64 make install
 
 ### Compiling OpenSSL