From 2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Mon, 21 Mar 2016 14:04:41 +0100 Subject: [PATCH] build-sys: some libmount test progs are Linux only Signed-off-by: Ruediger Meier --- libmount/src/Makemodule.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libmount/src/Makemodule.am b/libmount/src/Makemodule.am index fd007a4f9d..8c5ef08bf4 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 -- 2.47.3