[libsecret/wip/nielsdg/fix-mlock-check-meson: 3/3] Ensure the Meson build also supports private memory
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret/wip/nielsdg/fix-mlock-check-meson: 3/3] Ensure the Meson build also supports private memory
- Date: Mon, 13 May 2019 19:42:03 +0000 (UTC)
commit b7d593784c92ffc5500bb1a8082c110730255ad0
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun May 12 11:32:10 2019 +0200
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
meson.build | 1 +
1 file changed, 1 insertion(+)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]