Add an option in the Makefile to link statically. In buildout, add define the variable "LINK_STATIC". WARNING: At the moment it just has to be defined to switch to static linking (even if its value is "NO", "OFF" or "FALSE").