For a completely static build, run make deps
and then make
. The static libraries are automatically picked up by the build system. This is the mechanism that is used for building static libraries on the buildbot and in releases.
It has not been tested on as many distributions as install_deps.sh
and may need some manual tweaking.