diff options
author | Andre Heinecke <[email protected]> | 2016-05-11 12:56:20 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-05-11 12:56:20 +0000 |
commit | b8de79160b2e05ac84d8feb61ff7ed1f7015a623 (patch) | |
tree | 3c28e653c287b9f892e3ccfd6dedab022ba3db35 /lang/cpp | |
parent | Merge branch 'gpgmepp' (diff) | |
download | gpgme-b8de79160b2e05ac84d8feb61ff7ed1f7015a623.tar.gz gpgme-b8de79160b2e05ac84d8feb61ff7ed1f7015a623.zip |
Cpp: Ensure gpgme.h is taken from current build
* lang/cpp/src/Makefile.am (AM_CPPFLAGS): Add gpgme.h location.
--
This fixes the build in case an incompatible gpgme.h is also
installed in other include locations.
Diffstat (limited to 'lang/cpp')
-rw-r--r-- | lang/cpp/src/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/cpp/src/Makefile.am b/lang/cpp/src/Makefile.am index 24e0461c..d3d28ce6 100644 --- a/lang/cpp/src/Makefile.am +++ b/lang/cpp/src/Makefile.am @@ -59,7 +59,8 @@ nobase_gpgmeppinclude_HEADERS = $(interface_headers) libgpgmepp_la_SOURCES = $(main_sources) $(gpgmepp_headers) context_vanilla.cpp \ $(interface_headers) $(private_gpgmepp_headers) -AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ -DBUILDING_GPGMEPP +AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \ + -DBUILDING_GPGMEPP libgpgmepp_la_LIBADD = ../../../src/libgpgme.la @LIBASSUAN_LIBS@ libgpgmepp_la_LDFLAGS = -version-info \ |