set PKG_CONFIG_PATH environment var by dsame · Pull Request #400 · actions/setup-python

Description:
By default pkg-config reads packages from /usr which does not correspond to the active python version

To fix this the PKG_CONFIG_PATH set to the installation dir + "/lib/pkgconfig"

Related issue:
link to the related issue.
POC Build.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.