diff options
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl.inc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index a3b0ac4c74..3bfe569b3c 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -33,13 +33,21 @@ export AS = "${CC} -c" | |||
33 | 33 | ||
34 | inherit pkgconfig siteinfo multilib_header | 34 | inherit pkgconfig siteinfo multilib_header |
35 | 35 | ||
36 | PACKAGES =+ "libcrypto libssl ${PN}-misc" | 36 | PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf" |
37 | FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}" | 37 | FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}" |
38 | FILES_libssl = "${libdir}/libssl.so.*" | 38 | FILES_libssl = "${libdir}/libssl.so.*" |
39 | FILES_${PN} =+ " ${libdir}/ssl/*" | 39 | FILES_${PN} =+ " ${libdir}/ssl/*" |
40 | FILES_${PN}-misc = "${libdir}/ssl/misc ${libdir}/ssl/openssl.cnf" | 40 | FILES_${PN}-misc = "${libdir}/ssl/misc" |
41 | FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}" | 41 | FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}" |
42 | 42 | ||
43 | # Add the openssl.cnf file to the openssl-conf package. Make the libcrypto | ||
44 | # package RRECOMMENDS on this package. This will enable the configuration | ||
45 | # file to be installed for both the base openssl package and the libcrypto | ||
46 | # package since the base openssl package depends on the libcrypto package. | ||
47 | FILES_openssl-conf = "${libdir}/ssl/openssl.cnf" | ||
48 | CONFFILES_openssl-conf = "${libdir}/ssl/openssl.cnf" | ||
49 | RRECOMMENDS_libcrypto += "openssl-conf" | ||
50 | |||
43 | do_configure_prepend_darwin () { | 51 | do_configure_prepend_darwin () { |
44 | sed -i -e '/version-script=openssl\.ld/d' Configure | 52 | sed -i -e '/version-script=openssl\.ld/d' Configure |
45 | } | 53 | } |