Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] openssl: fix libssl.pc to use libcrypto
@ 2015-03-17  1:35 Saul Wold
  2015-03-17  1:48 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2015-03-17  1:35 UTC (permalink / raw)
  To: openembedded-core

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/fix_Makefile_creation_of_libssl.patch        | 16 ++++++++++++++++
 meta/recipes-connectivity/openssl/openssl_1.0.2.bb       |  1 +
 2 files changed, 17 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..e76ab2e
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl/fix_Makefile_creation_of_libssl.patch
@@ -0,0 +1,16 @@
+Upstream-Status: Pending
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+Index: openssl-1.0.2/Makefile.org
+===================================================================
+--- openssl-1.0.2.orig/Makefile.org
++++ openssl-1.0.2/Makefile.org
+@@ -381,7 +381,7 @@ libssl.pc: Makefile
+ 	    echo 'Description: Secure Sockets Layer and cryptography libraries'; \
+ 	    echo 'Version: '$(VERSION); \
+ 	    echo 'Requires.private: libcrypto'; \
+-	    echo 'Libs: -L$${libdir} -lssl'; \
++	    echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
+ 	    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"
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-17 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17  1:35 [PATCH v2] openssl: fix libssl.pc to use libcrypto Saul Wold
2015-03-17  1:48 ` Khem Raj
2015-03-17 17:55   ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox