Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Saul Wold <sgw@linux.intel.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] openssl: fix libssl.pc to Require libcrypto
Date: Mon, 16 Mar 2015 14:16:23 +0800	[thread overview]
Message-ID: <55067537.1060108@windriver.com> (raw)
In-Reply-To: <1426485217-18563-1-git-send-email-sgw@linux.intel.com>


I'm afraid that it doesn't work, the error is the same as before
for openflow.

// Robert

On 03/16/2015 01:53 PM, Saul Wold wrote:
> The 1.0.2 version of libssl requires that libcrypto be linked so don't
> keep it private anymore.
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>   .../openssl/openssl/fix_Makefile_creation_of_libssl.patch   | 13 +++++++++++++
>   meta/recipes-connectivity/openssl/openssl_1.0.2.bb          |  1 +
>   2 files changed, 14 insertions(+)
>   create mode 100644 meta/recipes-connectivity/openssl/openssl/fix_Makefile_creation_of_libssl.patch
>
> diff --git a/meta/recipes-connectivity/openssl/openssl/fix_Makefile_creation_of_libssl.patch b/meta/recipes-connectivity/openssl/openssl/fix_Makefile_creation_of_libssl.patch
> new file mode 100644
> index 0000000..dbf1f3c
> --- /dev/null
> +++ b/meta/recipes-connectivity/openssl/openssl/fix_Makefile_creation_of_libssl.patch
> @@ -0,0 +1,13 @@
> +Index: openssl-1.0.2/Makefile
> +===================================================================
> +--- openssl-1.0.2.orig/Makefile
> ++++ openssl-1.0.2/Makefile
> +@@ -381,7 +381,7 @@ libssl.pc: Makefile
> + 	    echo 'Name: OpenSSL-libssl'; \
> + 	    echo 'Description: Secure Sockets Layer and cryptography libraries'; \
> + 	    echo 'Version: '$(VERSION); \
> +-	    echo 'Requires.private: libcrypto'; \
> ++	    echo 'Requires: libcrypto'; \
> + 	    echo 'Libs: -L$${libdir} -lssl'; \
> + 	    echo 'Libs.private: $(EX_LIBS)'; \
> + 	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
> diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2.bb
> index 79537f9..a980855 100644
> --- a/meta/recipes-connectivity/openssl/openssl_1.0.2.bb
> +++ b/meta/recipes-connectivity/openssl/openssl_1.0.2.bb
> @@ -37,6 +37,7 @@ SRC_URI += "file://configure-targets.patch \
>               file://Makefiles-ptest.patch \
>               file://ptest-deps.patch \
>               file://run-ptest \
> +            file://fix_Makefile_creation_of_libssl.patch \
>              "
>
>   SRC_URI[md5sum] = "38373013fc85c790aabf8837969c5eba"
>


  reply	other threads:[~2015-03-16  6:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16  5:53 [PATCH] openssl: fix libssl.pc to Require libcrypto Saul Wold
2015-03-16  6:16 ` Robert Yang [this message]
2015-03-16 15:43   ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55067537.1060108@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox