Life-history evolution under a production constraint