From: Ruediger Meier Date: Mon, 21 Mar 2016 13:04:41 +0000 (+0100) Subject: build-sys: some libmount test progs are Linux only X-Git-Tag: v2.28-rc2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2eb6a7486ea0f8ce2f14492f1cbfe5c1140cbd02;p=thirdparty%2Futil-linux.git build-sys: some libmount test progs are Linux only Signed-off-by: Ruediger Meier --- 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