summaryrefslogtreecommitdiff
path: root/giscanner/pkgconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Factor out pkg-config functionality to a separate module.Tomasz Miąsko2018-07-281-0/+58
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 . * Use user preferred encoding to process output from pkg-config on Python 3. Python 2 behaviour defaults to using ascii encoding as before. edit creiter: still ignore pkg-config errors by default for now as we depend on it when glib is a subproject.