Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
environment: make sure multiple-name program lookup is always equal
We support this in a machine file: ``` [binaries] pkgconfig = 'pkg-config' pkg-config = 'pkg-config' ``` and you can use either one, because internally we look up both. But this plays awkwardly with setting $PKG_CONFIG, since we don't know which one you set in the machine file and the *other* one will be initialized from the environment instead. We can't solve this by changing the order of lookup, because we need to know that we checked for machine file entries before falling back to the environment. Instead, make one compatible machine file entry propagate to the other possibilities before we finish populating the binary table with environment variables.
- Loading branch information