From c6725588cefbc4126bafbd45cca496f2f0f93b95 Mon Sep 17 00:00:00 2001 From: Anatoly Pugachev Date: Sat, 9 Apr 2022 12:44:06 +0300 Subject: [PATCH] tests: don't compile lsfd/mkfds helper on macos, since it's linux only macos is missing linux only header "sys/prctl.h", so exclude lsfd/mkfds on macos from make 'check-programs' target --- tests/helpers/Makemodule.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/helpers/Makemodule.am b/tests/helpers/Makemodule.am index a44e6902d3..83df24b1f0 100644 --- a/tests/helpers/Makemodule.am +++ b/tests/helpers/Makemodule.am @@ -31,5 +31,7 @@ check_PROGRAMS += test_uuid_namespace test_uuid_namespace_SOURCES = tests/helpers/test_uuid_namespace.c \ libuuid/src/predefined.c libuuid/src/unpack.c libuuid/src/unparse.c +if LINUX check_PROGRAMS += test_mkfds test_mkfds_SOURCES = tests/helpers/test_mkfds.c +endif -- 2.47.2