Hi!

On Wed, 2014-09-03 at 17:17:11 +0900, Junichi Uekawa wrote:
> Package: libssh2-1-dev
> Version: 1.4.3-3
> Severity: normal

> /usr/lib/x86_64-linux-gnu/pkgconfig/libssh2.pc
> has line:
> Libs.private:  -lgcrypt
> 
> however, libgcrypt depends on libgpg-error, so static linking fails.
> 
> This should be:
> 
> Libs.private:  -lgcrypt -lgpg-error

While it is true that this will fix the problem, it is fixing it in the
wrong place, because it is encoding a possibly internal implementation
detail in the depending packages. The proper fix would be to request
that libgcrypt gets a pkg-config file so that this information can be
encoded where it belongs. Then this pc file could be changed to say:

  Requires.private: gcrypt

or similar.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to