diff --git a/meson.build b/meson.build index 36db806..0d59799 100644 --- a/meson.build +++ b/meson.build @@ -78,6 +78,7 @@ if with_gcrypt endif conf.set('WITH_DEBUG', enable_debug) conf.set('_DEBUG', enable_debug) +conf.set('HAVE_MLOCK', meson.get_compiler('c').has_function('mlock')) configure_file(output: 'config.h', configuration: conf) # Subfolders