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', 'egg-testing.c',
] ]
libegg_deps = [
glib_deps,
]
if with_gcrypt if with_gcrypt
libegg_sources += [ libegg_sources += [
'egg-dh.c', 'egg-dh.c',
'egg-hkdf.c', 'egg-hkdf.c',
'egg-libgcrypt.c', 'egg-libgcrypt.c',
] ]
endif
libegg_deps = [ libegg_deps += gcrypt_dep
glib_deps, endif
gcrypt_dep,
]
libegg = static_library('egg', libegg = static_library('egg',
libegg_sources, libegg_sources,