summaryrefslogtreecommitdiffstats
path: root/libmount/src
diff options
context:
space:
mode:
authorRuediger Meier2016-03-21 14:04:41 +0100
committerKarel Zak2016-03-21 21:03:40 +0100
commit2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02 (patch)
tree9e6f1a4eba274bdb329bfdae6db7d05761b89ef4 /libmount/src
parentipcs: --shmems, upward/backward compatibility (diff)
downloadkernel-qcow2-util-linux-2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02.tar.gz
kernel-qcow2-util-linux-2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02.tar.xz
kernel-qcow2-util-linux-2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02.zip
build-sys: some libmount test progs are Linux only
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/src')
-rw-r--r--libmount/src/Makemodule.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmount/src/Makemodule.am b/libmount/src/Makemodule.am
index fd007a4f9..8c5ef08bf 100644
--- a/libmount/src/Makemodule.am
+++ b/libmount/src/Makemodule.am
@@ -74,7 +74,6 @@ EXTRA_DIST += \
if BUILD_LIBMOUNT_TESTS
check_PROGRAMS += \
test_mount_cache \
- test_mount_context \
test_mount_lock \
test_mount_optstr \
test_mount_tab \
@@ -82,8 +81,11 @@ check_PROGRAMS += \
test_mount_tab_update \
test_mount_utils \
test_mount_version \
- test_mount_monitor \
test_mount_debug
+if LINUX
+check_PROGRAMS += test_mount_context
+check_PROGRAMS += test_mount_monitor
+endif
libmount_tests_cflags = -DTEST_PROGRAM $(libmount_la_CFLAGS) $(NO_UNUSED_WARN_CFLAGS)
libmount_tests_ldflags = libblkid.la -static