Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildsys: automatically select correct
PKG_CONFIG_PATH
on Solaris
For 32-bit builds, make sure that, if /usr/lib/amd64/pkgconfig is in the path, we put /usr/lib/pkgconfig before it, so that we find the .pc files for 32-bit versions of packages. For 64-bit builds, make sure that, if /usr/lib/pkgconfig is in the path, we put /usr/lib/amd64/pkgconfig before it and, if it's not in the path, we have /usr/lib/amd64/pkgconfig at the end of the path, so that we find the .pc files for 64-bit versions of packages. Original patch by Guy Harris <gharris@sonic.net>. Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
- Loading branch information