Merge branch 'wip/nielsdg/fix-disabled-gcrypt' into 'master'

Fix the meson build on -Dgcrypt=false

Closes #20

See merge request GNOME/libsecret!23
This commit is contained in:
Daiki Ueno 2019-05-13 20:26:44 +00:00
commit 103ff88f6d

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,