summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-25 11:38:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-25 11:38:42 -0400
commitcede7bdcdee25adcc635a0496ece6d7078a094d5 (patch)
treed3ea9cb48086f6fcd561bffe2bc78ffab211ec47 /git-annex.cabal
parent38b3d8da1b4f1afab9a70ad6e0482251a6c1f563 (diff)
cabal: Only try to use inotify on Linux.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 3902a077b..b43705793 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -47,7 +47,7 @@ Executable git-annex
Build-Depends: hS3
CPP-Options: -DWITH_S3
- if flag(Inotify)
+ if os(linux) && flag(Inotify)
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY