diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.0.2d.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb index fd568414fa..659e0bd49e 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.2d.bb | |||
| @@ -56,3 +56,13 @@ PARALLEL_MAKEINST = "" | |||
| 56 | do_configure_prepend() { | 56 | do_configure_prepend() { |
| 57 | cp ${WORKDIR}/find.pl ${S}/util/find.pl | 57 | cp ${WORKDIR}/find.pl ${S}/util/find.pl |
| 58 | } | 58 | } |
| 59 | |||
| 60 | # The crypto_use_bigint patch means that perl's bignum module needs to be | ||
| 61 | # installed, but some distributions (for example Fedora 23) don't ship it by | ||
| 62 | # default. As the resulting error is very misleading check for bignum before | ||
| 63 | # building. | ||
| 64 | do_configure_prepend() { | ||
| 65 | if ! perl -Mbigint -e true; then | ||
| 66 | bbfatal "The perl module 'bignum' was not found but this is required to build openssl. Please install this module (often packaged as perl-bignum) and re-run bitbake." | ||
| 67 | fi | ||
| 68 | } | ||
