summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl_1.1.0i.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl_1.1.0i.bb')
-rw-r--r--meta/recipes-connectivity/openssl/openssl_1.1.0i.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.0i.bb b/meta/recipes-connectivity/openssl/openssl_1.1.0i.bb
index d2f2624f9e..a03f6ff336 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.0i.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.0i.bb
@@ -24,7 +24,7 @@ SRC_URI_append_class-nativesdk = " \
24SRC_URI[md5sum] = "9495126aafd2659d357ea66a969c3fe1" 24SRC_URI[md5sum] = "9495126aafd2659d357ea66a969c3fe1"
25SRC_URI[sha256sum] = "ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99" 25SRC_URI[sha256sum] = "ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99"
26 26
27inherit lib_package multilib_header ptest relative_symlinks 27inherit lib_package multilib_header ptest
28 28
29#| ./libcrypto.so: undefined reference to `getcontext' 29#| ./libcrypto.so: undefined reference to `getcontext'
30#| ./libcrypto.so: undefined reference to `setcontext' 30#| ./libcrypto.so: undefined reference to `setcontext'
@@ -114,9 +114,12 @@ do_install () {
114 ${D}${libdir}/ssl-1.1/private \ 114 ${D}${libdir}/ssl-1.1/private \
115 ${D}${libdir}/ssl-1.1/openssl.cnf \ 115 ${D}${libdir}/ssl-1.1/openssl.cnf \
116 ${D}${sysconfdir}/ssl/ 116 ${D}${sysconfdir}/ssl/
117 ln -sf ${sysconfdir}/ssl/certs ${D}${libdir}/ssl-1.1/certs 117
118 ln -sf ${sysconfdir}/ssl/private ${D}${libdir}/ssl-1.1/private 118 # Although absolute symlinks would be OK for the target, they become
119 ln -sf ${sysconfdir}/ssl/openssl.cnf ${D}${libdir}/ssl-1.1/openssl.cnf 119 # invalid if native or nativesdk are relocated from sstate.
120 ln -sf ${@oe.path.relative('${libdir}/ssl-1.1', '${sysconfdir}/ssl/certs')} ${D}${libdir}/ssl-1.1/certs
121 ln -sf ${@oe.path.relative('${libdir}/ssl-1.1', '${sysconfdir}/ssl/private')} ${D}${libdir}/ssl-1.1/private
122 ln -sf ${@oe.path.relative('${libdir}/ssl-1.1', '${sysconfdir}/ssl/openssl.cnf')} ${D}${libdir}/ssl-1.1/openssl.cnf
120} 123}
121 124
122do_install_append_class-native () { 125do_install_append_class-native () {