probonopd / static-tools

Building static binaries of some tools using an Alpine chroot with musl
MIT License
28 stars 13 forks source link

Build zsyncmake #13

Closed probonopd closed 2 years ago

probonopd commented 2 years ago

Let's also build zsyncmake static because it is used in https://github.com/AppImage/AppImageKit/blob/master/ci/build-appdir.sh

wget http://zsync.moria.org.uk/download/zsync-0.6.2.tar.bz2
tar xf zsync-*.tar.bz2
cd zsync-*/
./configure CFLAGS=-no-pie LDFLAGS=-static
make
strip zsync zsyncmake