summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-26 13:05:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-26 13:05:52 -0400
commit78002d4976ded84cd2b0edbd78f9bb27371befe7 (patch)
tree3629b807f796d5956fbd26bca90b72a777101733 /git-annex.cabal
parent8e49206af5bed49999c0b2d55b17cd32b1ef666e (diff)
only enable dbus on linux for now
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index c7d9bf570..3aa32ba5a 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -69,7 +69,7 @@ Executable git-annex
if (! os(windows))
CPP-Options: -DWITH_KQUEUE
- if flag(Dbus)
+ if os(linux) && flag(Dbus)
Build-Depends: dbus
CPP-Options: -DWITH_DBUS
@@ -79,7 +79,7 @@ Executable git-annex
crypto-api, hamlet
CPP-Options: -DWITH_WEBAPP
- if (os(darwin))
+ if os(darwin)
CPP-Options: -DOSX
Test-Suite test