[Buildroot] [PATCH 2/2] libpjsip: fix optional dependency on libsrtp
Luca Ceresoli
luca at lucaceresoli.net
Tue Mar 8 23:01:34 UTC 2016
On 08/03/2016 21:15, Thomas Petazzoni wrote:
> Dear Luca Ceresoli,
>
> On Mon, 7 Mar 2016 22:56:45 +0100, Luca Ceresoli wrote:
>
>> +ifeq ($(BR2_PACKAGE_LIBSRTP),y)
>> +LIBPJSIP_DEPENDENCIES += libsrtp
>> +LIBPJSIP_CONF_OPTS += --with-external-srtp=$(STAGING_DIR)/usr
>> +endif
>
> The --with-external-srtp seems to imply that there is also an
> "internal/bundled" srtp.
>
> If pjsip indeed needs srtp unconditionally, then we should always
> depend on it and use the external libsrtp rather than the bundled one.
Uh, indeed libpjsip always links libsrtp, and ships the internal copy in
case the no external one is found.
Updated patch incoming.
--
Luca
More information about the buildroot
mailing list