Merge branch 'wip/nielsdg/fix-mlock-check-meson' into 'master'

Ensure the Meson build also supports private memory

Closes #23

See merge request GNOME/libsecret!22
This commit is contained in:
Daiki Ueno 2019-05-13 19:53:06 +00:00
commit afdb92654c

View File

@ -78,6 +78,7 @@ if with_gcrypt
endif endif
conf.set('WITH_DEBUG', enable_debug) conf.set('WITH_DEBUG', enable_debug)
conf.set('_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) configure_file(output: 'config.h', configuration: conf)
# Subfolders # Subfolders