diff mbox

[02/52] package/libpjsip: drop path to staging to find libsrtp

Message ID 6e1d6ebdd990ad2d9921f85b622103d7310120da.1483093662.git.yann.morin.1998@free.fr
State Changes Requested
Headers show

Commit Message

Yann E. MORIN Dec. 30, 2016, 10:29 a.m. UTC
As it happens, specifying the path where to look for libsrtp is not
needed: pjsip does not use the argument to --with-external-srtp as a
search path at all; it only checks whether it is 'no' or something
else.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/libpjsip/libpjsip.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luca Ceresoli Jan. 4, 2017, 1:21 p.m. UTC | #1
Hi Yann,

On 30/12/2016 11:29, Yann E. MORIN wrote:
> As it happens, specifying the path where to look for libsrtp is not
> needed: pjsip does not use the argument to --with-external-srtp as a
> search path at all; it only checks whether it is 'no' or something
> else.

Oh dear, and it's even documented in ./configure --help! Thanks for
noticing.

> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
>  package/libpjsip/libpjsip.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
> index 7d30bbb..551dbd9 100644
> --- a/package/libpjsip/libpjsip.mk
> +++ b/package/libpjsip/libpjsip.mk
> @@ -53,7 +53,7 @@ LIBPJSIP_CONF_OPTS = \
>  	--disable-ipp \
>  	--disable-ssl \
>  	--disable-silk \
> -	--with-external-srtp=$(STAGING_DIR)/usr
> +	--with-external-srtp

Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
diff mbox

Patch

diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index 7d30bbb..551dbd9 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -53,7 +53,7 @@  LIBPJSIP_CONF_OPTS = \
 	--disable-ipp \
 	--disable-ssl \
 	--disable-silk \
-	--with-external-srtp=$(STAGING_DIR)/usr
+	--with-external-srtp
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LIBPJSIP_DEPENDENCIES += openssl