Meta-analysis of local adaptation to living and non-living environments