Commit 6b167f2b authored by Kenton Varda's avatar Kenton Varda

Improve release script's windows build.

parent 3a24f676
......@@ -72,7 +72,10 @@ build_packages() {
doit ./configure --host=i686-w64-mingw32 --with-external-capnp \
--disable-shared CXXFLAGS='-static-libgcc -static-libstdc++'
doit make -j6 capnp.exe capnpc-c++.exe capnpc-capnp.exe
doit zip ../capnproto-c++-win32-$VERSION.zip capnp.exe capnpc-c++.exe capnpc-capnp.exe
doit i686-w64-mingw32-strip capnp.exe capnpc-c++.exe capnpc-capnp.exe
doit mkdir capnproto-c++-win32-$VERSION
doit mv capnp.exe capnpc-c++.exe capnpc-capnp.exe capnproto-c++-win32-$VERSION
doit zip -r ../capnproto-c++-win32-$VERSION.zip capnproto-c++-win32-$VERSION
doit make maintainer-clean
cd ..
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment