ntp: explicitly enable openssl-random when crypto is enabled

If OpenSSL is selected, --enable-openssl-random should be explicitly
enabled for consistency with the disable case.

[Peter: tweak commit text]
Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Adam Duskett 2017-11-08 08:18:39 -05:00 committed by Peter Korsgaard
parent 651af57cf0
commit 905677cbd5

View File

@ -24,7 +24,7 @@ NTP_CONF_OPTS = \
NTP_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
NTP_CONF_OPTS += --with-crypto
NTP_CONF_OPTS += --with-crypto --enable-openssl-random
NTP_DEPENDENCIES += openssl
else
NTP_CONF_OPTS += --without-crypto --disable-openssl-random