python: Fix build in certain cases.
ClosedPublic

Authored by justus on May 18 2017, 11:46 AM.

Details

Summary
  • lang/python/setup.py.in: Prepend the Python build dir to the list of

include directories so that it takes precedence over any other include

directory.

Fixes the build in case an older 'gpgme.h' is installed and is picked
up by the compiler when compiling the Python module.

Signed-off-by: Justus Winter <justus@g10code.com>

Test Plan

aheinecke checks whether it fixes his build.

Diff Detail

Repository
rM GPGME
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
justus created this revision.May 18 2017, 11:46 AM
aheinecke accepted this revision.May 18 2017, 11:51 AM

Works! :-) Thanks.

This revision is now accepted and ready to land.May 18 2017, 11:51 AM
This revision was automatically updated to reflect the committed changes.