Apparently it is not as easy as adding the `-static` flag to the `LDFLAGS` environment variable before building, even though libtool sees and uses it.