[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] pkg-config file for libgnutls
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] pkg-config file for libgnutls |
Date: |
Thu, 15 Feb 2007 14:02:09 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
Pavlov Konstantin <address@hidden> writes:
> On Thu, Feb 15, 2007 at 12:01:13PM +0100, Simon Josefsson wrote:
>> Pavlov Konstantin <address@hidden> writes:
>>
>> > Hello everyone.
>> >
>> > I noticed that my libgnutls-devel package doesn't depend on libtasn1-devel
>> > one.
>> >
>> > Looks like this is due to that line in .pc file:
>> >
>> > Libs.private: -L/usr/lib -lgnutls -ltasn1 -lgcrypt -lgpg-error
>> >
>> > Shouldnt it be Libs: -L${libdir} @LIBGNUTLS_LIBS@ instead?
>> >
>> > Without libtasn1-devel installed, macro AM_PATH_LIBGNUTLS doesnt work.
>>
>> As far as I understand the pkg-config documentation, Libs.private is
>> for static linking and Libs is for dynamic linking. So I think that
>> this is correct, since the dynamic linker takes care of the
>> dependencies.
>>
>> Libs: -L${libdir} -lgnutls
>> Libs.private: @LIBGNUTLS_LIBS@
>>
>> Possibly we could have a 'Requires: libtasn1' line added, which I
>> think would have the effect as you want: 'pkg-config --libs gnutls'
>> will mention -ltasn1.
>
> Yes, i think this way is more correct than suggested by myself.
Ok, installed. Thanks!
/Simon
- [gnutls-dev] pkg-config file for libgnutls, Pavlov Konstantin, 2007/02/14
- Re: [gnutls-dev] pkg-config file for libgnutls, Simon Josefsson, 2007/02/15
- Message not available
- Re: [gnutls-dev] pkg-config file for libgnutls,
Simon Josefsson <=
- Re: [gnutls-dev] pkg-config file for libgnutls, Andreas Metzler, 2007/02/15
- Re: [gnutls-dev] pkg-config file for libgnutls, Simon Josefsson, 2007/02/16
- Re: [gnutls-dev] pkg-config file for libgnutls, Andreas Metzler, 2007/02/18
- Re: [gnutls-dev] pkg-config file for libgnutls, Werner Koch, 2007/02/18
- Re: [gnutls-dev] pkg-config file for libgnutls, Andreas Metzler, 2007/02/18
- Re: [gnutls-dev] pkg-config file for libgnutls, Werner Koch, 2007/02/19
- Re: [gnutls-dev] pkg-config file for libgnutls, Simon Josefsson, 2007/02/19
- Re: [gnutls-dev] pkg-config file for libgnutls, Andreas Metzler, 2007/02/20
- Re: [gnutls-dev] pkg-config file for libgnutls, Simon Josefsson, 2007/02/22
Re: [gnutls-dev] pkg-config file for libgnutls, Andreas Metzler, 2007/02/15