qt: Include cpp before core directory
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 5 Sep 2016 08:42:02 +0000 (10:42 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 5 Sep 2016 08:42:02 +0000 (10:42 +0200)
* lang/qt/src/Makefile.am (AM_CPPFLAGS): Include cpp before core.

--
Both core and cpp have headers that have the same names, this
can lead to the wrong headers beeing included when qt bindings
are built.

lang/qt/src/Makefile.am

index 59206ed..f63b295 100644 (file)
@@ -199,7 +199,7 @@ nodist_include_HEADERS = qgpgme_version.h
 
 libqgpgme_la_SOURCES = $(qgpgme_sources) $(qgpgme_headers) $(private_qgpgme_headers)
 
-AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/lang/cpp/src \
+AM_CPPFLAGS = -I$(top_srcdir)/lang/cpp/src -I$(top_builddir)/src \
               @GPGME_QT_CFLAGS@ @GPG_ERROR_CFLAGS@ @LIBASSUAN_CFLAGS@ \
               -DBUILDING_QGPGME