[FFmpeg-devel] [PATCH] make librtmp+ssl work with configure

Måns Rullgård mans
Sun Jun 6 12:26:26 CEST 2010


Luca Barbato <lu_zero at gentoo.org> writes:

> On 06/05/2010 12:25 PM, M?ns Rullg?rd wrote:
>> Luca Barbato <lu_zero at gentoo.org> writes:
>> 
>>> Checking just for -lrtmp doesn't work anymore when it links to an ssl
>>> library, since it provides a pkg-config so let's use it.
>> 
>> Why not just add -lssl?  Much simpler.
>> 
>
> what if you have polarssl instead of openssl or gnutls?
>
> you have to add -lz in any case and -lssl -lcrypto -ldl in the case of
> openssl or -lgnutls or -lpolarssl ^^;

I didn't know librtmp had all those options.  Anyhow, that doesn't
excuse the use pkgconfig --cflags.

> pkg-config is handy from time to time =P

It is still a flawed design with a broken implementation.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list