]> tinc-vpn.org Git - wiki/commitdiff
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 f35ab4cf58803a841ea39e560d1e8cb40ab2a8b6..b44c37f472b30c28cf85c735283131a9198ce691 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