aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authorTobias Mueller <[email protected]>2016-05-31 12:41:12 +0000
committerJustus Winter <[email protected]>2016-05-31 14:35:59 +0000
commit8ad17f402f6420880dcf06a13a54feadb52c0208 (patch)
tree88a20ecf49c237805f7d2b2fcae6e50778edffe5 /lang/python
parentpython: Port more tests. (diff)
downloadgpgme-8ad17f402f6420880dcf06a13a54feadb52c0208.tar.gz
gpgme-8ad17f402f6420880dcf06a13a54feadb52c0208.zip
python: use GPG_ERROR_CONFIG variable
instead of calling gpg-error-config. This is useful when configuring with --with-gpgerror-prefix because then GPG_ERROR_CONFIG contains the correct /path/to/bin/gpg-error-config whereas calling gpg-error-config directly would look in the user's PATH (and not in the prefix where gpg-error-config was installed). Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r--lang/python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index f58f0798..80349225 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -32,7 +32,7 @@ copystamp: $(srcdir)/pyme $(srcdir)/helpers.c $(srcdir)/helpers.h
errors.i:
sed -n -e \
'/GPG_ERR_[^ ]* =/s/ *\(.*\) = .*/%constant long \1 = \1;/p' \
- `gpg-error-config --prefix`/include/gpg-error.h >$@
+ `$(GPG_ERROR_CONFIG) --prefix`/include/gpg-error.h >$@
gpgme_wrap.c pyme/pygpgme.py: gpgme.i errors.i gpgme.h copystamp
$(SWIG) -python -py3 $(SWIGOPT) \