Skip to content

Factor out pkg-config functionality to a separate module.

Ghost User requested to merge (removed):pkg-config into master

Functional changes:

  • Consistently check that return code from pkg-config is zero.
  • Use shell word splitting rules to process pkg-config output to match behaviour obtained by running cc program.cc $(pkg-config --cflags ...). Fixes issue #171 (closed) .
  • Use user preferred encoding to process output from pkg-config on Python 3. Python 2 behaviour defaults to using ascii encoding as before.

Merge request reports