core: Explicitly add GPG_ERROR_CFLAGS

* src/Makefile.am (AM_CFLAGS): Add GPG_ERROR_CFLAGS

--
This fixes the include directory for libgpg error if
it is installed in a different prefix then libassuan. Previously
libassuan provided the include directory also implicitly.
This commit is contained in:
Andre Heinecke 2021-06-09 10:47:05 +02:00
parent 5bc4e23a57
commit 4041e2c62a
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -101,7 +101,7 @@ endif
# We use a global CFLAGS setting for all libraries # We use a global CFLAGS setting for all libraries
# versions, because then every object file is only compiled once. # versions, because then every object file is only compiled once.
AM_CFLAGS = @LIBASSUAN_CFLAGS@ @GLIB_CFLAGS@ AM_CFLAGS = @LIBASSUAN_CFLAGS@ @GPG_ERROR_CFLAGS@ @GLIB_CFLAGS@
gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h
gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@ gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@