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', '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,