mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
Ensure the Meson build also supports private memory
The meson build does not check for `mlock()` and define `HAVE_MLOCK`. Fixes https://gitlab.gnome.org/GNOME/libsecret/issues/23
This commit is contained in:
parent
c4b313b5ed
commit
b7d593784c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user