Skip to content

Call cairo.get_include() to find py3cairo.h

Alex Henrie requested to merge (removed):master into master

If pycairo was installed from source, py3cairo.h may not have been copied to /usr/include/pycairo. It would be better to ask the pycairo module itself where py3cairo.h is by calling cairo.get_include().

This fixes compilation on CentOS 7 when pycairo has been installed from source.

See https://github.com/pygobject/pycairo/issues/92

Merge request reports