tags 675785 patch

--

Here is a possible solution to the problem: the attached patch it to be added 
to debian/patches with corresponding 'series' file.

Also I believe 'libgcrypt11-dev' should be added to 'libssh2-1-dev' Depends.

Thank you.

Regards,
Dmitry.

Attachment: signature.asc
Description: This is a digitally signed message part.

Last-Update: 2012-08-04
Author: Dmitry Smirnov <only...@member.fsf.org>
Forwarded: no
Bug-Debian: http://bugs.debian.org/675785
Description: Fixes pkg-config in libssh2-1-dev
 This patch addresses the problem causing FTBFS
 in packages linking with libssh2.

--- a/configure.ac
+++ b/configure.ac
@@ -102,7 +102,7 @@
 # Look for libgcrypt
 if test "$ac_cv_libssl" != "yes" && test "$use_libgcrypt" != "no"; then
   AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>])
-  LIBSREQUIRED=libgcrypt
+  LIBS="$LIBS -lgcrypt"
 fi
 
 AC_SUBST(LIBSREQUIRED)
with-libgcrypt.patch

Reply via email to