Patchwork [meta-networking] stunnel: fix configure ssl parameter

login
register
mail settings
Submitter Javier Viguera
Date April 23, 2014, 8:34 a.m.
Message ID <1398242092-43050-1-git-send-email-javier.viguera@digi.com>
Download mbox | patch
Permalink /patch/70771/
State New, archived
Headers show

Comments

Javier Viguera - April 23, 2014, 8:34 a.m.
'--with-ssl=DIR' configure parameter expects the location of the
libraries and include files in the sysroot. This means the directory
containing the 'lib' and 'include' subdirectories, not the include
directory itself.

This fixes an error at configure time:

checking
<local-path>/tmp/sysroots/ccimx6adpt/usr/include/include/openssl/engine.h
usability... no

(notice duplicated include entry in above line)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
---

Notes:
    To backport to Dora as well.

 meta-networking/recipes-support/stunnel/stunnel_4.56.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Joe MacDonald - April 25, 2014, 1:01 a.m.
Merged, thanks.
-J.

[[oe] [meta-networking][PATCH] stunnel: fix configure ssl parameter] On 14.04.23 (Wed 10:34) Javier Viguera wrote:

> '--with-ssl=DIR' configure parameter expects the location of the
> libraries and include files in the sysroot. This means the directory
> containing the 'lib' and 'include' subdirectories, not the include
> directory itself.
> 
> This fixes an error at configure time:
> 
> checking
> <local-path>/tmp/sysroots/ccimx6adpt/usr/include/include/openssl/engine.h
> usability... no
> 
> (notice duplicated include entry in above line)
> 
> Signed-off-by: Javier Viguera <javier.viguera@digi.com>
> ---
> 
> Notes:
>     To backport to Dora as well.
> 
>  meta-networking/recipes-support/stunnel/stunnel_4.56.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/stunnel/stunnel_4.56.bb b/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
> index 086d0b7aafea..938f043a9d97 100644
> --- a/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
> +++ b/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
> @@ -12,4 +12,4 @@ SRC_URI[sha256sum] = "9cae2cfbe26d87443398ce50d7d5db54e5ea363889d5d2ec8d2778a01c
>  
>  inherit autotools
>  
> -EXTRA_OECONF += "--with-ssl='${STAGING_INCDIR}' --disable-fips"
> +EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"

Patch

diff --git a/meta-networking/recipes-support/stunnel/stunnel_4.56.bb b/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
index 086d0b7aafea..938f043a9d97 100644
--- a/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
+++ b/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
@@ -12,4 +12,4 @@  SRC_URI[sha256sum] = "9cae2cfbe26d87443398ce50d7d5db54e5ea363889d5d2ec8d2778a01c
 
 inherit autotools
 
-EXTRA_OECONF += "--with-ssl='${STAGING_INCDIR}' --disable-fips"
+EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"