diff options
author | Lee Hanxue <hanxue.developer@gmail.com> | 2014-05-09 11:25:43 +0800 |
---|---|---|
committer | Lee Hanxue <hanxue.developer@gmail.com> | 2014-05-09 11:35:38 +0800 |
commit | e130b9acd6d2a7d2aa389cc982717edfe9fb56aa (patch) | |
tree | 99c7888ec946b1c1c811f12ce96c2ea1bada7dda /tests/Makefile.am | |
parent | 799cef8d964f60470cdfd6c9f816d2383a1817fd (diff) | |
download | bindfs-e130b9acd6d2a7d2aa389cc982717edfe9fb56aa.tar.gz |
Remove fuse utimens dependency for OSX
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8fc80ea..53a9081 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,13 @@ -noinst_PROGRAMS = readdir_inode utimens_nofollow -readdir_inode_SOURCES = readdir_inode.c -utimens_nofollow_SOURCES = utimens_nofollow.c +UNAME_S := $(shell uname -s) +if BUILD_OS_IS_DARWIN + noinst_PROGRAMS = readdir_inode + readdir_inode_SOURCES = readdir_inode.c +else + noinst_PROGRAMS = readdir_inode utimens_nofollow + readdir_inode_SOURCES = readdir_inode.c + utimens_nofollow_SOURCES = utimens_nofollow.c +endif TESTS = test_bindfs.rb SUBDIRS = internals |