Build tools call other programs which can be additionally configured by environment variables. I suggest to help with editing environment variables so that selected settings are active during the execution of involved tools. I came along the need (for example) to set a directory selection for the variable “PKG_CONFIG_PATH”.