]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: some libmount test progs are Linux only
authorRuediger Meier <rudi@localhost>
Mon, 21 Mar 2016 13:04:41 +0000 (14:04 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 21 Mar 2016 20:03:40 +0000 (21:03 +0100)
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
libmount/src/Makemodule.am

index fd007a4f9dc2bf45f23ffbb2084a53bb3339d865..8c5ef08bf4bed37b39db1628665b0b31c0574f8f 100644 (file)
@@ -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