libsecret/egg/meson.build
Xi Ruoyao c4fb5f033f build: Fix FTBFS using meson without valgrind
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.
2019-09-20 23:32:14 +08:00

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],
)