curl-library
Re: [Patch] Link fix with RTMP
Date: Sun, 14 Nov 2010 22:49:49 -0800
>>> [...] Configure will
>>> detect the library but does not set -lrtmp to the curl link flags
>>> because it cannot query pkgconfig for those.
>>>
>>> Attached is a patch to add -lrtmp to the CURL_LIBS whenever RTMP is
>>> enabled. This fixes the build but I am not sure it is the right
>>> solution (or something I should fix on my setup).
>>
>> Yes, fix your setup.
OK, fixed my setup.
>> Just adding -lrtmp is not reliable; if librtmp is a static library you won't
>> pick up its dependencies.
>
> Fair enough, but surely configure should complain about the missing
> pkgconfig files rather than pretending everything is OK and then
> causing curl not to link?
It looks like this proposal is better than my hackish change. I will
provide a configure change in this direction unless Howard (or anyone)
has an objection on the new proposal.
Thanks,
Julien
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-15