Browse Source

build-sys: add libfido2 as optional dependency

pull/181/head
Lennart Poettering 9 months ago
committed by Sven Eden
parent
commit
9035d20a50
2 changed files with 14 additions and 0 deletions
  1. +12
    -0
      meson.build
  2. +2
    -0
      meson_options.txt

+ 12
- 0
meson.build View File

@ -1347,6 +1347,17 @@ conf.set10('HAVE_PAM', have)
# endif
# conf.set10('HAVE_P11KIT', have)
#
# want_libfido2 = get_option('libfido2')
# if want_libfido2 != 'false' and not skip_deps
# libfido2 = dependency('libfido2',
# required : want_libfido2 == 'true')
# have = libfido2.found()
# else
# have = false
# libfido2 = []
# endif
# conf.set10('HAVE_LIBFIDO2', have)
#
# want_elfutils = get_option('elfutils')
# if want_elfutils != 'false' and not skip_deps
# libdw = dependency('libdw',
@ -4042,6 +4053,7 @@ foreach tuple : [
# ['libfdisk'],
#endif // 0
['p11kit'],
['libfido2'],
['AUDIT'],
#if 0 /// UNNEEDED by elogind
# ['IMA'],

+ 2
- 0
meson_options.txt View File

@ -385,6 +385,8 @@ option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
# description : 'openssl support')
# option('p11kit', type : 'combo', choices : ['auto', 'true', 'false'],
# description : 'p11kit support')
# option('libfido2', type : 'combo', choices : ['auto', 'true', 'false'],
# description : 'FIDO2 support')
# option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
# description : 'elfutils support')
# option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],

Loading…
Cancel
Save