talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 1b0d426f1ef2aed53c34fb56da7191f02303e701
parent eff1091802b80bfb76f72e4c8005d6d87f99141c
Author: Olaf Hering <olaf@aepfle.de>
Date:   Mon, 12 Feb 2024 19:49:31 +0100

Use CFLAGS provided by nettle.pc

In case nettle requires any CFLAGS, use them as well.

Signed-off-by: Olaf Hering <olaf@aepfle.de>

Diffstat:
Mconfigure.ac | 1+
Msrc/Makefile.am | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -520,6 +520,7 @@ fi PKG_CHECK_MODULES(NETTLE, nettle) AC_SUBST(NETTLE_LIBS) +AC_SUBST(NETTLE_CFLAGS) AC_ARG_WITH(passcrypt-key, [ --with-passcrypt-key=KEY Key used to encode passwords (8 byte string)], with_passcrypt_key="$withval", with_passcrypt_key="passkey0") diff --git a/src/Makefile.am b/src/Makefile.am @@ -622,6 +622,7 @@ AM_CPPFLAGS = \ $(ENCHANT_CFLAGS) \ $(GTK_CFLAGS) \ $(GNUTLS_CFLAGS) \ + $(NETTLE_CFLAGS) \ $(GPGME_CFLAGS) \ $(LIBETPAN_CPPFLAGS) \ $(STARTUP_NOTIFICATION_CFLAGS) \