[Pkg-gnupg-commit] [gpgme] 111/412: Qt: Fix compilation of unit tests
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:27 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 375523ead3a749d77d286c56f10d403c07f2b014
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu May 19 10:56:49 2016 +0200
Qt: Fix compilation of unit tests
* lang/qt/tests/Makefile.am (AM_CPPFLAGS): Add -DBUILDING_QGPGME.
--
Without building QGpgME the headers of gpgme++ are not included
corretly and taken from an already installed gpgme++.
---
lang/qt/tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index 4a14e63..7658a73 100644
--- a/lang/qt/tests/Makefile.am
+++ b/lang/qt/tests/Makefile.am
@@ -36,7 +36,7 @@ LDADD = ../../cpp/src/libgpgmepp.la ../src/libqgpgme.la \
AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ \
@GPGME_QT_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
- @GPGME_QTTEST_CFLAGS@ \
+ @GPGME_QTTEST_CFLAGS@ -DBUILDING_QGPGME \
-I$(top_srcdir)/lang/cpp/src -I$(top_srcdir)/lang/qt/src \
-DTOP_SRCDIR="$(top_srcdir)"
--
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