[Pkg-gnupg-commit] [gpgme] 148/412: python: use GPG_ERROR_CONFIG variable
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 8ad17f402f6420880dcf06a13a54feadb52c0208
Author: Tobias Mueller <muelli at cryptobitch.de>
Date: Tue May 31 14:41:12 2016 +0200
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 <justus at gnupg.org>
---
lang/python/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index f58f079..8034922 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) \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list