Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid redefining Pycairo_CAPI #190

Merged
merged 1 commit into from
Jul 23, 2018
Merged

Avoid redefining Pycairo_CAPI #190

merged 1 commit into from
Jul 23, 2018

Conversation

tomhughes
Copy link
Contributor

Recent versions of pycairo declare Pycairo_CAPI as extern rather than static in the header, so if you include py3cairo.h in more than one file then you need to tell it to only declare it in the additional files by defining PYCAIRO_NO_IMPORT.

@talaj talaj merged commit 588fc90 into mapnik:v3.0.x Jul 23, 2018
@talaj
Copy link
Member

talaj commented Jul 23, 2018

Thanks! I will put the commit also to master branch.

@tomhughes tomhughes deleted the pycairo branch May 2, 2019 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants