I have just committed a clean fix for this in SVN (both trunk and stable
branch). Next release will be OK.

On Tue, Nov 17, 2009 at 9:11 PM, Chris <[email protected]> wrote:

> Actually, these are libtorrent-rasterbar dependencies and I'm using
> pkg-config (via qmake) to get the linking flags.
> The problem is that as a default it probably uses this:
> $ pkg-config --libs libtorrent-rasterbar
> -ltorrent-rasterbar
>
> The others flags are in libtorrent-rasterbar.pc though:
> Libs: -L${libdir} -ltorrent-rasterbar
> Libs.private: -lz -lrt   -lboost_system-mt -lboost_filesystem-mt
> -lboost_thread-mt  -lssl -lcrypto
>
> Actually, it would be possible to get all the flags with this command:
> $ pkg-config --libs --static libtorrent-rasterbar
> -ltorrent-rasterbar -lz -lrt -lboost_system-mt -lboost_filesystem-mt
> -lboost_thread-mt -lssl -lcrypto
>
> The thing is that I'm not calling pkg-config directly, I'm simply adding
> these lines to my project file:
>
> CONFIG += link_pkgconfig
>
> PKGCONFIG += "libtorrent-rasterbar"
>
> I could not find a qmake configuration that would get all the flags yet.
>
> On Tue, Nov 17, 2009 at 9:28 PM, Chris <[email protected]> wrote:
>
>> Hi,
>>
>> Adding this line to the src/src.pro file fixes the problem:
>> LIBS += -lboost_system-mt -lboost_thread-mt -lboost_filesystem-mt -lz -lrt
>> -lssl -lcrypto
>>
>> It is not perfect but it works. I'll see if I can find a better way.
>>
>
>

Reply via email to