meson: Nettle is required if it's the only SHA1 choice

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2017-05-08 11:40:17 +01:00 committed by Adam Jackson
parent 95e5fa0476
commit 5bff2a6856

View File

@ -47,7 +47,7 @@ pixman_dep = dependency('pixman-1')
libbsd_dep = dependency('libbsd', required: false)
xkbfile_dep = dependency('xkbfile')
xfont2_dep = dependency('xfont2', version: '>= 2.0')
nettle_dep = dependency('nettle', required: false)
nettle_dep = dependency('nettle')
dbus_required = get_option('systemd_logind') == 'yes'
dbus_dep = dependency('dbus-1', version: '>= 1.0', required: dbus_required)