summary refs log tree commit diff
path: root/gnu/packages/ssh.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2014-03-25 15:51:32 -0500
committerEric Bavier <bavier@member.fsf.org>2014-03-26 10:50:00 -0500
commite9c14f37a8029e1a30593ed3c908486c16b8410e (patch)
tree3b1f5044d13f0c9a561cb50dae2b45836ec00112 /gnu/packages/ssh.scm
parent4979ee04f07defb55dc448a5682913dc41935760 (diff)
downloadguix-e9c14f37a8029e1a30593ed3c908486c16b8410e.tar.gz
gnu: libssh2: Fix use with libssh2.pc
* gnu/packages/ssh.scm (libssh2): Pass --with-libgcrypt configure flag and
  propagate inputs.
Diffstat (limited to 'gnu/packages/ssh.scm')
-rw-r--r--gnu/packages/ssh.scm7
1 files changed, 5 insertions, 2 deletions
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 @@ remote applications.")
             (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