]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: don't compile lsfd/mkfds helper on macos, since it's linux only
authorAnatoly Pugachev <matorola@gmail.com>
Sat, 9 Apr 2022 09:44:06 +0000 (12:44 +0300)
committerAnatoly Pugachev <matorola@gmail.com>
Sat, 9 Apr 2022 09:44:06 +0000 (12:44 +0300)
macos is missing linux only header "sys/prctl.h", so exclude lsfd/mkfds
on macos from make 'check-programs' target

tests/helpers/Makemodule.am

index a44e6902d3ba055b75ae7640b8e3464ee965d23f..83df24b1f0e1e14f0c3a99f8ab28945faedf451c 100644 (file)
@@ -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