From 7fcdb2655cbc815ba3083194348eb1dd63b4d1c2 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Fri, 5 Jul 2024 02:57:50 +0900 Subject: [PATCH] [2.4] autotools: gcc 8.5 expects explicit library flags for libgrypt (#1189) --- macros/libgcrypt.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/libgcrypt.m4 b/macros/libgcrypt.m4 index 9c449ead321..3c69c50ed36 100644 --- a/macros/libgcrypt.m4 +++ b/macros/libgcrypt.m4 @@ -8,7 +8,7 @@ AC_ARG_WITH(libgcrypt-dir, netatalk_cv_libgcrypt=$withval) if test x$netatalk_cv_libgcrypt != x ; then LIBGCRYPT_CFLAGS="-I$netatalk_cv_libgcrypt/include" - LIBGCRYPT_LIBS="-L$netatalk_cv_libgcrypt/lib" + LIBGCRYPT_LIBS="-L$netatalk_cv_libgcrypt/lib -lgcrypt -lgpg-error" else PKG_CHECK_MODULES(LIBGCRYPT, [libgcrypt >= 1.2.3], ac_cv_have_libgcrypt=yes,