mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
28486191b2
This turns the `-Dgcrypt` build time option into a more generic `-Dcrypto` option, which enables user to choose which cryptographic library to link with. It currently supports libgcrypt (`libgcrypt`) and GnuTLS (`gnutls`); for the latter, GnuTLS 3.8.2 is the minimum required version. Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
28 lines
564 B
Meson
28 lines
564 B
Meson
secret_tool_sources = [
|
|
'secret-tool.c',
|
|
]
|
|
|
|
secret_tool = executable('secret-tool',
|
|
secret_tool_sources,
|
|
dependencies: libsecret_dep,
|
|
include_directories: config_h_dir,
|
|
c_args: libsecret_cflags,
|
|
install: true,
|
|
)
|
|
|
|
if with_crypto and host_machine.system() != 'windows'
|
|
test('test-secret-tool.sh',
|
|
find_program('test-secret-tool.sh'),
|
|
env: test_env,
|
|
suite: 'secret-tool',
|
|
)
|
|
endif
|
|
|
|
if get_option('tpm2')
|
|
test('test-secret-tool-tpm2.sh',
|
|
find_program('test-secret-tool-tpm2.sh'),
|
|
env: test_env,
|
|
suite: 'secret-tool',
|
|
)
|
|
endif
|