2c6172
diff -ru gnupg-2.3.8.orig/configure gnupg-2.3.8/configure
2c6172
--- gnupg-2.3.8.orig/configure	2022-10-13 17:56:41.000000000 +0200
2c6172
+++ gnupg-2.3.8/configure	2022-10-22 15:45:44.541933579 +0200
2c6172
@@ -9004,7 +9004,7 @@
2c6172
 
2c6172
   if test $ok = yes; then
2c6172
     LIBASSUAN_CFLAGS=`$LIBASSUAN_CONFIG --cflags`
2c6172
-    LIBASSUAN_LIBS=`$LIBASSUAN_CONFIG --libs`
2c6172
+    LIBASSUAN_LIBS="-lassuan -lgpg-error"
2c6172
     have_libassuan=yes
2c6172
   else
2c6172
     LIBASSUAN_CFLAGS=""
2c6172
@@ -9183,7 +9183,7 @@
2c6172
   fi
2c6172
   if test $ok = yes; then
2c6172
     KSBA_CFLAGS=`$KSBA_CONFIG --cflags`
2c6172
-    KSBA_LIBS=`$KSBA_CONFIG --libs`
2c6172
+    KSBA_LIBS="-lksba -lgpg-error -lnpth"
2c6172
     have_ksba=yes
2c6172
     if test -z "$use_gpgrt_config"; then
2c6172
       libksba_config_host=`$KSBA_CONFIG --host 2>/dev/null || echo none`