Don't call pkg-config directly but via variable
Submitted by Bernd Steinhauser
Assigned to Xorg Project Team
Link to original bug (#106485)
Description
Created attachment 139513 Patch addressing the issue
There are various implementation of pkg-config and they don't always use the same binary, hence there is the variable $PKG_CONFIG, which points to the correct one. Use this variable instead of calling pkg-config directly, as that binary might not be available.
The attached patch fixes this issue.
Patch 139513, "Patch addressing the issue":
0001-Call-pkg-config-via-variable.patch