diff options
author | Ruediger Meier | 2016-03-21 14:04:42 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-21 21:03:41 +0100 |
commit | a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de (patch) | |
tree | 232a3b4990e3ca58753231a65728d536d6b3b498 /libmount/python/pylibmount.c | |
parent | build-sys: some libmount test progs are Linux only (diff) | |
download | kernel-qcow2-util-linux-a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de.tar.gz kernel-qcow2-util-linux-a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de.tar.xz kernel-qcow2-util-linux-a5b3be92c6d5fb5335c6de57bf1ba16e9699a1de.zip |
build-sys: pylibmount, mount context is Linux only
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/python/pylibmount.c')
-rw-r--r-- | libmount/python/pylibmount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmount/python/pylibmount.c b/libmount/python/pylibmount.c index c538bb543..54d7dfa70 100644 --- a/libmount/python/pylibmount.c +++ b/libmount/python/pylibmount.c @@ -229,7 +229,9 @@ PyMODINIT_FUNC initpylibmount(void) FS_AddModuleObject(m); Table_AddModuleObject(m); +#ifdef __linux__ Context_AddModuleObject(m); +#endif /* * mount(8) userspace options masks (MNT_MAP_USERSPACE map) |