cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [Patch] Link fix with RTMP

From: Michael Wood <esiotrot_at_gmail.com>
Date: Sun, 14 Nov 2010 14:22:44 +0200

On 14 November 2010 06:43, Howard Chu <hyc_at_highlandsun.com> wrote:
> Julien Chaffraix wrote:
>>
>> [...] 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.
>
> 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?

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-14