Home GnuPG
Diffusion GPGME 7309ce6f5f7c

python: Read gpg-error.h using the pre-processor

Description

python: Read gpg-error.h using the pre-processor

* lang/python/setup.py.in: Read gpg-error.h using the pre-processor.

The libgpg-error may be installed in multilib configuration in which
there is a wrapper header at /usr/include that includes the actual
header at /usr/include/*. This causes invalid errors.i generation.

Let the pre-processor extract the header content instead reading it
explicitly.

  • Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Details

Provenance
alonblAuthored on Apr 8 2017, 3:34 PM
justusCommitted on Apr 10 2017, 2:47 PM
Parents
rMdf8433bffa9e: python: Remove unneeded stats copy
Branches
Unknown
Tags
Unknown