From f5a1f47f37f40e2b3154164f38bd0c34e275b122 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Sun, 12 May 2019 17:51:04 +0200 Subject: [PATCH] Fix the meson build on -Dgcrypt=false Fixes https://gitlab.gnome.org/GNOME/libsecret/issues/20 --- egg/meson.build | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/egg/meson.build b/egg/meson.build index 11eeb75..791ab82 100644 --- a/egg/meson.build +++ b/egg/meson.build @@ -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,