Fix the meson build on -Dgcrypt=false

Fixes https://gitlab.gnome.org/GNOME/libsecret/issues/20
This commit is contained in:
Niels De Graef 2019-05-12 17:51:04 +02:00 committed by Daiki Ueno
parent afdb92654c
commit f5a1f47f37

View File

@ -4,18 +4,19 @@ libegg_sources = [
'egg-testing.c',
]
libegg_deps = [
glib_deps,
]
if with_gcrypt
libegg_sources += [
'egg-dh.c',
'egg-hkdf.c',
'egg-libgcrypt.c',
]
endif
libegg_deps = [
glib_deps,
gcrypt_dep,
]
libegg_deps += gcrypt_dep
endif
libegg = static_library('egg',
libegg_sources,