diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-10-22 13:56:01 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-10-22 14:04:48 +0200 |
commit | 915a627fce1eb9fdb90001131f79aab249742488 (patch) | |
tree | 3532afc958cc17ebcece2827d06525785fd087ff | |
parent | 7e3583dd558925a447eaa4367d659f39482fbbc0 (diff) | |
download | buildroot-915a627fce1eb9fdb90001131f79aab249742488.tar.gz buildroot-915a627fce1eb9fdb90001131f79aab249742488.zip |
openssl: unconditionally define BR2_PACKAGE_PROVIDES_HOST_OPENSSL
Fixes:
http://autobuild.buildroot.net/results/207/207d0ca1fe5328e675246c851fcb0d5685f8c0bd/
http://autobuild.buildroot.net/results/546/546a56d6dd39e5e9ecfe25fd36a00510e6c0c45b/
host-openssl may be used without openssl being enabled for the target, so
move BR2_PACKAGE_PROVIDES_HOST_OPENSSL outside the BR2_PACKAGE_OPENSSL
conditional.
While we're at it, add a comment explaining what this magic config symbol does.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/openssl/Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/openssl/Config.in b/package/openssl/Config.in index df1d117257..e33320afc5 100644 --- a/package/openssl/Config.in +++ b/package/openssl/Config.in @@ -76,8 +76,9 @@ config BR2_PACKAGE_PROVIDES_OPENSSL default "libopenssl" if BR2_PACKAGE_LIBOPENSSL default "libressl" if BR2_PACKAGE_LIBRESSL +endif + +# ensure libopenssl is used for the host variant config BR2_PACKAGE_PROVIDES_HOST_OPENSSL string default "host-libopenssl" - -endif |