Mark H Weaver <m...@netris.org> skribis:

> l...@gnu.org (Ludovic Courtès) writes:
>
>> Eric Bavier <ericbav...@gmail.com> skribis:
>>
>>> --- a/gnu/packages/ssh.scm
>>> +++ b/gnu/packages/ssh.scm
>>> @@ -110,6 +110,18 @@ remote applications.")
>>>     (build-system gnu-build-system)
>>>     (inputs `(("libgcrypt" ,libgcrypt)
>>>               ("zlib" ,zlib)))
>>> +   (arguments
>>> +    '(#:configure-flags
>>> +      `("--with-libgcrypt"
>>> +        ;; Programs that use libssh2.pc to link against libssh2 need to 
>>> also
>>> +        ;; know where to find libgrypt and zlib libraries.  LDFLAGS are put
>>> +        ;; into the LIBS field of libssh2.pc
>>> +        ,(string-append
>>> +          "LDFLAGS=-L"
>>> +          (assoc-ref %build-inputs "libgcrypt")
>>> +          "/lib -L"
>>> +          (assoc-ref %build-inputs "zlib")
>>> +          "/lib"))))
>>
>> Another way to address that would be to rename ‘inputs’ to
>> ‘native-inputs’.
>
> Did you mean to write 'propagated-inputs' here?

Yes!  Sorry.

Ludo’.

Reply via email to