From: Anatoly Pugachev Date: Sat, 9 Apr 2022 09:44:06 +0000 (+0300) Subject: tests: don't compile lsfd/mkfds helper on macos, since it's linux only X-Git-Tag: v2.39-rc1~723^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6725588cefbc4126bafbd45cca496f2f0f93b95;p=thirdparty%2Futil-linux.git 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 --- 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