From e9c14f37a8029e1a30593ed3c908486c16b8410e Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 25 Mar 2014 15:51:32 -0500 Subject: gnu: libssh2: Fix use with libssh2.pc * gnu/packages/ssh.scm (libssh2): Pass --with-libgcrypt configure flag and propagate inputs. --- gnu/packages/ssh.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/packages/ssh.scm') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 78611b1767..837d616c21 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -108,8 +108,11 @@ (define-public libssh2 (sha256 (base32 "0vdr478dbhbdgnniqmirawjb7mrcxckn4slhhrijxnzrkmgziipa")))) (build-system gnu-build-system) - (inputs `(("libgcrypt" ,libgcrypt) - ("zlib" ,zlib))) + ;; The installed libssh2.pc file does not include paths to libgcrypt and + ;; zlib libraries, so we need to propagate the inputs. + (propagated-inputs `(("libgcrypt" ,libgcrypt) + ("zlib" ,zlib))) + (arguments '(#:configure-flags `("--with-libgcrypt"))) (synopsis "libssh2, a client-side C library implementing the SSH2 protocol") (description "libssh2 is a library intended to allow software developers access to -- cgit v1.2.3