summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-10-17 18:56:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-10-17 18:56:28 -0400
commit58972e05e2b6f526668ff39d588bd43c5cef8e62 (patch)
tree773bdcb183c34b33f1bb2b6d529771cdd6486429 /git-annex.cabal
parent659570ea45c917bffe58c0389b8d7c6b910136c6 (diff)
avoid trying to link with XMPP on Windows
It doesn't work, in a most puzzling way, which just wasted me hours, even if XMPP libs are installed. Webapp too.
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 20ac48511..45e27b970 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -149,7 +149,7 @@ Executable git-annex
Build-Depends: dbus (>= 0.10.3)
CPP-Options: -DWITH_DBUS
- if flag(Webapp)
+ if flag(Webapp) && (! os(windows))
Build-Depends:
yesod, yesod-default, yesod-static, yesod-form, yesod-core,
case-insensitive, http-types, transformers, wai, wai-logger, warp,
@@ -161,7 +161,7 @@ Executable git-annex
Build-Depends: network-multicast, network-info
CPP-Options: -DWITH_PAIRING
- if flag(XMPP)
+ if flag(XMPP) && (! os(windows))
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
CPP-Options: -DWITH_XMPP