mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
c4fb5f033f
Now with meson build system libsecret FTBFS without valgrind installed. Two issues: (1) egg-testing.c depends on valgrind/valgrind.h unnecessarily; (2) we forgot to add "build" directory as a header directory for meson. This commit resolves both of them.
26 lines
377 B
Meson
26 lines
377 B
Meson
libegg_sources = [
|
|
'egg-hex.c',
|
|
'egg-secure-memory.c',
|
|
'egg-testing.c',
|
|
]
|
|
|
|
libegg_deps = [
|
|
glib_deps,
|
|
]
|
|
|
|
if with_gcrypt
|
|
libegg_sources += [
|
|
'egg-dh.c',
|
|
'egg-hkdf.c',
|
|
'egg-libgcrypt.c',
|
|
]
|
|
|
|
libegg_deps += gcrypt_dep
|
|
endif
|
|
|
|
libegg = static_library('egg',
|
|
libegg_sources,
|
|
dependencies: libegg_deps,
|
|
include_directories: [config_h_dir, build_dir],
|
|
)
|