From b8de79160b2e05ac84d8feb61ff7ed1f7015a623 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 11 May 2016 14:56:20 +0200 Subject: [PATCH] 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. --- lang/cpp/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \